Package io.webfolder.cdp.type.runtime
Class ExceptionDetails
java.lang.Object
io.webfolder.cdp.type.runtime.ExceptionDetails
Detailed information about exception (or error) that was thrown during script compilation or
execution.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionColumn number of the exception location (0-based).Exception object if available.Exception id.Dictionary with entries of meta data that the client associated with this exception, such as information about associated network requests, etc.Identifier of the context where exception happened.Line number of the exception location (0-based).Script ID of the exception location.JavaScript stack trace if available.getText()
Exception text, which should be used together with exception object when available.getUrl()
URL of the exception location, to be used when the script was not reported.void
setColumnNumber
(Integer columnNumber) Column number of the exception location (0-based).void
setException
(RemoteObject exception) Exception object if available.void
setExceptionId
(Integer exceptionId) Exception id.void
setExceptionMetaData
(Object exceptionMetaData) Dictionary with entries of meta data that the client associated with this exception, such as information about associated network requests, etc.void
setExecutionContextId
(Integer executionContextId) Identifier of the context where exception happened.void
setLineNumber
(Integer lineNumber) Line number of the exception location (0-based).void
setScriptId
(String scriptId) Script ID of the exception location.void
setStackTrace
(StackTrace stackTrace) JavaScript stack trace if available.void
Exception text, which should be used together with exception object when available.void
URL of the exception location, to be used when the script was not reported.toString()
-
Constructor Details
-
ExceptionDetails
public ExceptionDetails()
-
-
Method Details
-
getExceptionId
Exception id. -
setExceptionId
Exception id. -
getText
Exception text, which should be used together with exception object when available. -
setText
Exception text, which should be used together with exception object when available. -
getLineNumber
Line number of the exception location (0-based). -
setLineNumber
Line number of the exception location (0-based). -
getColumnNumber
Column number of the exception location (0-based). -
setColumnNumber
Column number of the exception location (0-based). -
getScriptId
Script ID of the exception location. -
setScriptId
Script ID of the exception location. -
getUrl
URL of the exception location, to be used when the script was not reported. -
setUrl
URL of the exception location, to be used when the script was not reported. -
getStackTrace
JavaScript stack trace if available. -
setStackTrace
JavaScript stack trace if available. -
getException
Exception object if available. -
setException
Exception object if available. -
getExecutionContextId
Identifier of the context where exception happened. -
setExecutionContextId
Identifier of the context where exception happened. -
getExceptionMetaData
Dictionary with entries of meta data that the client associated with this exception, such as information about associated network requests, etc. -
setExceptionMetaData
Dictionary with entries of meta data that the client associated with this exception, such as information about associated network requests, etc. -
toString
-