Class ExceptionDetails

java.lang.Object
com.oracle.truffle.tools.dap.types.JSONBase
com.oracle.truffle.tools.dap.types.ExceptionDetails

public class ExceptionDetails extends JSONBase
Detailed information about an exception that has occurred.
  • Method Details

    • getMessage

      public String getMessage()
      Message contained in the exception.
    • setMessage

      public ExceptionDetails setMessage(String message)
    • getTypeName

      public String getTypeName()
      Short type name of the exception object.
    • setTypeName

      public ExceptionDetails setTypeName(String typeName)
    • getFullTypeName

      public String getFullTypeName()
      Fully-qualified type name of the exception object.
    • setFullTypeName

      public ExceptionDetails setFullTypeName(String fullTypeName)
    • getEvaluateName

      public String getEvaluateName()
      Optional expression that can be evaluated in the current scope to obtain the exception object.
    • setEvaluateName

      public ExceptionDetails setEvaluateName(String evaluateName)
    • getStackTrace

      public String getStackTrace()
      Stack trace at the time the exception was thrown.
    • setStackTrace

      public ExceptionDetails setStackTrace(String stackTrace)
    • getInnerException

      public List<ExceptionDetails> getInnerException()
      Details of the exception contained by this exception, if any.
    • setInnerException

      public ExceptionDetails setInnerException(List<ExceptionDetails> innerException)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • create

      public static ExceptionDetails create()