Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.bcel.verifier.structurals
Class ExceptionHandler  view ExceptionHandler download ExceptionHandler.java

java.lang.Object
  extended byorg.apache.bcel.verifier.structurals.ExceptionHandler

public class ExceptionHandler
extends java.lang.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 371539 2006-01-23 14:08:00Z tcurdt $

Field Summary
private  org.apache.bcel.generic.ObjectType catchtype
          The type of the exception to catch.
private  org.apache.bcel.generic.InstructionHandle handlerpc
          The InstructionHandle where the handling begins.
 
Constructor Summary
(package private) ExceptionHandler(org.apache.bcel.generic.ObjectType catch_type, org.apache.bcel.generic.InstructionHandle handler_pc)
          Leave instance creation to JustIce.
 
Method Summary
 org.apache.bcel.generic.ObjectType getExceptionType()
          Returns the type of the exception that's handled.
 org.apache.bcel.generic.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
 

Field Detail

catchtype

private org.apache.bcel.generic.ObjectType catchtype
The type of the exception to catch. NULL means ANY.


handlerpc

private org.apache.bcel.generic.InstructionHandle handlerpc
The InstructionHandle where the handling begins.

Constructor Detail

ExceptionHandler

ExceptionHandler(org.apache.bcel.generic.ObjectType catch_type,
                 org.apache.bcel.generic.InstructionHandle handler_pc)
Leave instance creation to JustIce.

Method Detail

getExceptionType

public org.apache.bcel.generic.ObjectType getExceptionType()
Returns the type of the exception that's handled. 'null' means 'ANY'.


getHandlerStart

public org.apache.bcel.generic.InstructionHandle getHandlerStart()
Returns the InstructionHandle where the handler starts off.