Class ExceptionHandler


  • public class ExceptionHandler
    extends java.lang.Object
    This class represents an exception handler; that is, an ObjectType representing a subclass of java.lang.Throwable and the instruction the handler starts off (represented by an InstructionContext).
    • Field Detail

      • catchtype

        private final ObjectType catchtype
        The type of the exception to catch. NULL means ANY.
      • handlerpc

        private final InstructionHandle handlerpc
        The InstructionHandle where the handling begins.
    • Constructor Detail

    • Method Detail

      • getExceptionType

        public ObjectType getExceptionType()
        Returns the type of the exception that's handled. 'null' means 'ANY'.
      • getHandlerStart

        public InstructionHandle getHandlerStart()
        Returns the InstructionHandle where the handler starts off.