Class ExceptionOptions

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

public class ExceptionOptions extends JSONBase
An ExceptionOptions assigns configuration options to a set of exceptions.
  • Method Details

    • getPath

      public List<ExceptionPathSegment> getPath()
      A path that selects a single or multiple exceptions in a tree. If 'path' is missing, the whole tree is selected. By convention the first segment of the path is a category that is used to group exceptions in the UI.
    • setPath

      public ExceptionOptions setPath(List<ExceptionPathSegment> path)
    • getBreakMode

      public String getBreakMode()
      Condition when a thrown exception should result in a break.
    • setBreakMode

      public ExceptionOptions setBreakMode(String breakMode)
    • equals

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

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

      public static ExceptionOptions create(String breakMode)