Package Torello.Browser.JavaScriptAPI
Class RunTime.ExceptionDetails
- java.lang.Object
-
- Torello.Browser.BaseType<RunTime.ExceptionDetails>
-
- Torello.Browser.JavaScriptAPI.RunTime.ExceptionDetails
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- RunTime
public static class RunTime.ExceptionDetails extends BaseType<RunTime.ExceptionDetails> implements java.io.Serializable
This Nested Java Class is declared as a "Type", which is similar to a Java Class. The CDP API Specifications list this type among the types, events & commands located in theRunTimedomain, which may be found within theJavaScriptAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.Detailed information about exception (or error) that was thrown during script compilation or execution.- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/JavaScriptAPI/RunTime.java
- Open New Browser-Tab: Torello/Browser/JavaScriptAPI/RunTime.java
File Size: 3,923 Bytes Line Count: 101 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: RunTime$$ExceptionDetails$$.java
- Open New Browser-Tab: RunTime$$ExceptionDetails$$.java
File Size: 12,827 Bytes Line Count: 302 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field Description protected static longserialVersionUIDType Fields / Properties (from Google & Browser Specs) Modifier and Type Field Description intcolumnNumberColumn number of the exception location (0-based).RunTime.RemoteObjectexceptionException object if available.intexceptionIdException id.JsonValueexceptionMetaDataDictionary with entries of meta data that the client associated with this exception, such as information about associated network requests, etc.IntegerexecutionContextIdIdentifier of the context where exception happened.intlineNumberLine number of the exception location (0-based).StringscriptIdScript ID of the exception location.RunTime.StackTracestackTraceJavaScript stack trace if available.StringtextException text, which should be used together with exception object when available.StringurlURL of the exception location, to be used when the script was not reported.
-
Constructor Summary
Constructors Constructor Description ExceptionDetails(ReadOnlyList<Boolean> isPresent, int exceptionId, String text, int lineNumber, int columnNumber, String scriptId, String url, RunTime.StackTrace stackTrace, RunTime.RemoteObject exception, Integer executionContextId, JsonValue exceptionMetaData)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static RunTime.ExceptionDetailsfromJSON(JsonObject jo)Creates an instance of this class from aJsonObject.Retrieve the Type-Descriptor Singleton-Instance for this Nested Class. Modifier and Type Method Description static NestedDescriptor<RunTime.ExceptionDetails>descriptor()Returns this class'sNestedDescriptorsingleton-instance.-
Methods inherited from class Torello.Browser.BaseType
allEnumStrROLs, compareTo, enumStrList, enumStrValidate, enumStrValidateThrow, equals, hashCode, isPresent, optionalsValidate, optionalsValidateThrow, toJSON, toString
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable. Using theSerializableImplementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.- See Also:
- Constant Field Values
-
exceptionId
public final int exceptionId
Exception id.
-
text
public final java.lang.String text
Exception text, which should be used together with exception object when available.
-
lineNumber
public final int lineNumber
Line number of the exception location (0-based).
-
columnNumber
public final int columnNumber
Column number of the exception location (0-based).
-
scriptId
public final java.lang.String scriptId
Script ID of the exception location.
OPTIONAL
-
url
public final java.lang.String url
URL of the exception location, to be used when the script was not reported.
OPTIONAL
-
stackTrace
public final RunTime.StackTrace stackTrace
JavaScript stack trace if available.
OPTIONAL
-
exception
public final RunTime.RemoteObject exception
Exception object if available.
OPTIONAL
-
executionContextId
public final java.lang.Integer executionContextId
Identifier of the context where exception happened.
OPTIONAL
-
exceptionMetaData
public final JsonValue exceptionMetaData
Dictionary with entries of meta data that the client associated with this exception, such as information about associated network requests, etc.
OPTIONALEXPERIMENTAL
-
-
Constructor Detail
-
ExceptionDetails
public ExceptionDetails(ReadOnlyList<java.lang.Boolean> isPresent, int exceptionId, java.lang.String text, int lineNumber, int columnNumber, java.lang.String scriptId, java.lang.String url, RunTime.StackTrace stackTrace, RunTime.RemoteObject exception, java.lang.Integer executionContextId, JsonValue exceptionMetaData)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static RunTime.ExceptionDetails fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<RunTime.ExceptionDetails> descriptor()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-