Class DebugException.CatchLocation

java.lang.Object
com.oracle.truffle.api.debug.DebugException.CatchLocation
Enclosing class:
DebugException

public static final class DebugException.CatchLocation extends Object
Represents an exception catch location. It provides a stack frame and a source section where the exception is going to be caught.
Since:
19.0
  • Method Details

    • getSourceSection

      public SourceSection getSourceSection()
      Returns:
      a source section, or null if the catch source section is not known.
      Since:
      19.0
    • getFrame

      public DebugStackFrame getFrame()
      Returns:
      a frame in which the exception is going to be caught.
      Since:
      19.0