org.apache.bcel.verifier.structurals

Class ExceptionHandlers

public class ExceptionHandlers extends Object

This class allows easy access to ExceptionHandler objects.
Constructor Summary
ExceptionHandlers(MethodGen mg)
Constructor.
Method Summary
ExceptionHandler[]getExceptionHandlers(InstructionHandle ih)
Returns all the ExceptionHandler instances representing exception handlers that protect the instruction ih.

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.