Class ImmutableExceptionHandler

    • Field Detail

      • exceptionType

        @Nullable
        protected final java.lang.String exceptionType
      • handlerCodeAddress

        protected final int handlerCodeAddress
    • Constructor Detail

      • ImmutableExceptionHandler

        public ImmutableExceptionHandler​(@Nullable
                                         java.lang.String exceptionType,
                                         int handlerCodeAddress)
    • Method Detail

      • getExceptionType

        @Nullable
        public java.lang.String getExceptionType()
        Description copied from interface: ExceptionHandler
        Gets the type of exception that is handled by this handler.
        Specified by:
        getExceptionType in interface ExceptionHandler
        Returns:
        The type of exception that is handled by this handler, or null if this is a catch-all handler.
      • getHandlerCodeAddress

        public int getHandlerCodeAddress()
        Description copied from interface: ExceptionHandler
        Gets the code offset of the handler.
        Specified by:
        getHandlerCodeAddress in interface ExceptionHandler
        Returns:
        The offset of the handler from the the beginning of the bytecode for the method. The offset will be in terms of 16-bit code units