org.apache.bcel.verifier.structurals
Class ExceptionHandlers

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

public class ExceptionHandlers
extends java.lang.Object

This class allows easy access to ExceptionHandler objects.

Version:
$Id: ExceptionHandlers.java 386056 2006-03-15 11:31:56Z tcurdt $
Author:
Enver Haase

Field Summary
private  java.util.Hashtable exceptionhandlers
          The ExceptionHandler instances.
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exceptionhandlers

private java.util.Hashtable exceptionhandlers
The ExceptionHandler instances. Key: InstructionHandle objects, Values: HashSet instances.

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.