org.apache.bcel.verifier.structurals

## Class ExceptionHandler

- java.lang.Object
- - org.apache.bcel.verifier.structurals.ExceptionHandler

-     public class ExceptionHandler
      extends Object

  This class represents an exception handler; that is, an ObjectType representing a subclass of java.lang.Throwable and the instruction the handler starts off (represented by an InstructionContext).

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ObjectType` | `getExceptionType()` Returns the type of the exception that's handled.
    `InstructionHandle` | `getHandlerStart()` Returns the InstructionHandle where the handler starts off.

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

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

- - ### Method Detail

    - #### getExceptionType

          public ObjectType getExceptionType()

      Returns the type of the exception that's handled. 'null' means 'ANY'.

    - #### getHandlerStart

          public InstructionHandle getHandlerStart()

      Returns the InstructionHandle where the handler starts off.

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