Class ExceptionHandlers


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

      • exceptionhandlers

        private final java.util.Map<InstructionHandle,​java.util.Set<ExceptionHandler>> exceptionhandlers
        The ExceptionHandler instances. Key: InstructionHandle objects, Values: HashSet instances.
    • Constructor Detail

      • ExceptionHandlers

        public ExceptionHandlers​(MethodGen mg)
        Constructor. Creates a new ExceptionHandlers instance.
    • Method Detail

      • getExceptionHandlers

        public ExceptionHandler[] getExceptionHandlers​(InstructionHandle ih)
        Returns all the ExceptionHandler instances representing exception handlers that protect the instruction ih.