Package org.apache.bcel.verifier.structurals

# 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 Summary

  Constructors
  Constructor
  Description
  `ExceptionHandlers(MethodGen mg)`
  Constructs a new ExceptionHandlers instance.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ExceptionHandler[]`
  `getExceptionHandlers(InstructionHandle ih)`
  Returns all the ExceptionHandler instances representing exception handlers that protect the instruction ih.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ExceptionHandlers

    public ExceptionHandlers(MethodGen mg)
    Constructs a new ExceptionHandlers instance.

- ## Method Details

  - ### getExceptionHandlers

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