Class ExceptionHandlers

java.lang.Object
org.apache.bcel.verifier.structurals.ExceptionHandlers

public class ExceptionHandlers extends Object
This class allows easy access to ExceptionHandler objects.
  • Constructor Details

    • ExceptionHandlers

      Constructs a new ExceptionHandlers instance.
      Parameters:
      mg - the method generator.
  • Method Details

    • getExceptionHandlers

      Returns all the ExceptionHandler instances representing exception handlers that protect the instruction ih.
      Parameters:
      ih - the instruction handle.
      Returns:
      array of exception handlers.