Class ExceptionHandlers


  • public class ExceptionHandlers
    extends java.lang.Object
    This class allows easy access to ExceptionHandler objects.
    • Constructor Detail

      • ExceptionHandlers

        public ExceptionHandlers​(MethodGen mg)
        Constructs a new ExceptionHandlers instance.
        Parameters:
        mg - The method generator.
    • Method Detail

      • getExceptionHandlers

        public ExceptionHandler[] getExceptionHandlers​(InstructionHandle ih)
        Returns all the ExceptionHandler instances representing exception handlers that protect the instruction ih.
        Parameters:
        ih - The instruction handle.
        Returns:
        array of exception handlers.