Class ExceptionDetails

java.lang.Object
io.webfolder.cdp.type.runtime.ExceptionDetails

public class ExceptionDetails
extends java.lang.Object
Detailed information about exception (or error) that was thrown during script compilation or execution
  • Constructor Summary

    Constructors 
    Constructor Description
    ExceptionDetails()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Integer getColumnNumber()
    Column number of the exception location (0-based).
    RemoteObject getException()
    Exception object if available.
    java.lang.Integer getExceptionId()
    Exception id.
    java.lang.Integer getExecutionContextId()
    Identifier of the context where exception happened.
    java.lang.Integer getLineNumber()
    Line number of the exception location (0-based).
    java.lang.String getScriptId()
    Script ID of the exception location.
    StackTrace getStackTrace()
    JavaScript stack trace if available.
    java.lang.String getText()
    Exception text, which should be used together with exception object when available.
    java.lang.String getUrl()
    URL of the exception location, to be used when the script was not reported.
    void setColumnNumber​(java.lang.Integer columnNumber)
    Column number of the exception location (0-based).
    void setException​(RemoteObject exception)
    Exception object if available.
    void setExceptionId​(java.lang.Integer exceptionId)
    Exception id.
    void setExecutionContextId​(java.lang.Integer executionContextId)
    Identifier of the context where exception happened.
    void setLineNumber​(java.lang.Integer lineNumber)
    Line number of the exception location (0-based).
    void setScriptId​(java.lang.String scriptId)
    Script ID of the exception location.
    void setStackTrace​(StackTrace stackTrace)
    JavaScript stack trace if available.
    void setText​(java.lang.String text)
    Exception text, which should be used together with exception object when available.
    void setUrl​(java.lang.String url)
    URL of the exception location, to be used when the script was not reported.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getExceptionId

      public java.lang.Integer getExceptionId()
      Exception id.
    • setExceptionId

      public void setExceptionId​(java.lang.Integer exceptionId)
      Exception id.
    • getText

      public java.lang.String getText()
      Exception text, which should be used together with exception object when available.
    • setText

      public void setText​(java.lang.String text)
      Exception text, which should be used together with exception object when available.
    • getLineNumber

      public java.lang.Integer getLineNumber()
      Line number of the exception location (0-based).
    • setLineNumber

      public void setLineNumber​(java.lang.Integer lineNumber)
      Line number of the exception location (0-based).
    • getColumnNumber

      public java.lang.Integer getColumnNumber()
      Column number of the exception location (0-based).
    • setColumnNumber

      public void setColumnNumber​(java.lang.Integer columnNumber)
      Column number of the exception location (0-based).
    • getScriptId

      public java.lang.String getScriptId()
      Script ID of the exception location.
    • setScriptId

      public void setScriptId​(java.lang.String scriptId)
      Script ID of the exception location.
    • getUrl

      public java.lang.String getUrl()
      URL of the exception location, to be used when the script was not reported.
    • setUrl

      public void setUrl​(java.lang.String url)
      URL of the exception location, to be used when the script was not reported.
    • getStackTrace

      public StackTrace getStackTrace()
      JavaScript stack trace if available.
    • setStackTrace

      public void setStackTrace​(StackTrace stackTrace)
      JavaScript stack trace if available.
    • getException

      public RemoteObject getException()
      Exception object if available.
    • setException

      public void setException​(RemoteObject exception)
      Exception object if available.
    • getExecutionContextId

      public java.lang.Integer getExecutionContextId()
      Identifier of the context where exception happened.
    • setExecutionContextId

      public void setExecutionContextId​(java.lang.Integer executionContextId)
      Identifier of the context where exception happened.