ExceptionHandlers (Apache Commons BCEL 6.4.1 API)

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 and Description
    `ExceptionHandlers(MethodGen mg)` Constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 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.

Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.