-
public final class ExceptionDetailsDetailed information about exception (or error) that was thrown during script compilation or execution.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerexceptionIdprivate final Stringtextprivate final IntegerlineNumberprivate final IntegercolumnNumberprivate final StringscriptIdprivate final Stringurlprivate final StackTracestackTraceprivate final RemoteObjectexceptionprivate final IntegerexecutionContextId
-
Constructor Summary
Constructors Constructor Description ExceptionDetails(Integer exceptionId, String text, Integer lineNumber, Integer columnNumber, String scriptId, String url, StackTrace stackTrace, RemoteObject exception, Integer executionContextId)
-
Method Summary
Modifier and Type Method Description final Integercomponent1()final Stringcomponent2()final Integercomponent3()final Integercomponent4()final Stringcomponent5()final Stringcomponent6()final StackTracecomponent7()final RemoteObjectcomponent8()final Integercomponent9()final ExceptionDetailscopy(Integer exceptionId, String text, Integer lineNumber, Integer columnNumber, String scriptId, String url, StackTrace stackTrace, RemoteObject exception, Integer executionContextId)final IntegergetExceptionId()Exception id. final StringgetText()Exception text, which should be used together with exception object when available. final IntegergetLineNumber()Line number of the exception location (0-based). final IntegergetColumnNumber()Column number of the exception location (0-based). final StringgetScriptId()Script ID of the exception location. final StringgetUrl()URL of the exception location, to be used when the script was not reported. final StackTracegetStackTrace()JavaScript stack trace if available. final RemoteObjectgetException()Exception object if available. final IntegergetExecutionContextId()Identifier of the context where exception happened. -
-
Constructor Detail
-
ExceptionDetails
ExceptionDetails(Integer exceptionId, String text, Integer lineNumber, Integer columnNumber, String scriptId, String url, StackTrace stackTrace, RemoteObject exception, Integer executionContextId)
-
-
Method Detail
-
component1
final Integer component1()
-
component2
final String component2()
-
component3
final Integer component3()
-
component4
final Integer component4()
-
component5
final String component5()
-
component6
final String component6()
-
component7
final StackTrace component7()
-
component8
final RemoteObject component8()
-
component9
final Integer component9()
-
copy
final ExceptionDetails copy(Integer exceptionId, String text, Integer lineNumber, Integer columnNumber, String scriptId, String url, StackTrace stackTrace, RemoteObject exception, Integer executionContextId)
-
getExceptionId
final Integer getExceptionId()
Exception id.
-
getText
final String getText()
Exception text, which should be used together with exception object when available.
-
getLineNumber
final Integer getLineNumber()
Line number of the exception location (0-based).
-
getColumnNumber
final Integer getColumnNumber()
Column number of the exception location (0-based).
-
getScriptId
final String getScriptId()
Script ID of the exception location.
-
getUrl
final String getUrl()
URL of the exception location, to be used when the script was not reported.
-
getStackTrace
final StackTrace getStackTrace()
JavaScript stack trace if available.
-
getException
final RemoteObject getException()
Exception object if available.
-
getExecutionContextId
final Integer getExecutionContextId()
Identifier of the context where exception happened.
-
-
-
-