FileDocCategorySizeDatePackage
ExceptionHandler.javaAPI DocJava SE 5 API3848Fri Aug 26 14:55:26 BST 2005com.sun.org.apache.bcel.internal.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).
version
$Id: ExceptionHandler.java,v 1.1.1.1 2001/10/29 20:00:38 jvanzyl Exp $
author
Enver Haase

Fields Summary
private ObjectType
catchtype
The type of the exception to catch. NULL means ANY.
private InstructionHandle
handlerpc
The InstructionHandle where the handling begins.
Constructors Summary
ExceptionHandler(ObjectType catch_type, InstructionHandle handler_pc)
Leave instance creation to JustIce.

		catchtype = catch_type;
		handlerpc = handler_pc;
	
Methods Summary
public com.sun.org.apache.bcel.internal.generic.ObjectTypegetExceptionType()
Returns the type of the exception that's handled. 'null' means 'ANY'.

		return catchtype;
	
public com.sun.org.apache.bcel.internal.generic.InstructionHandlegetHandlerStart()
Returns the InstructionHandle where the handler starts off.

		return handlerpc;