org.quilt.cl
Class CatchData

java.lang.Object
  |
  +--org.quilt.cl.CatchData

public class CatchData
extends java.lang.Object

Data structure describing an exception handler. XXX There have been problems associated with generation of exception handlers. tryEnd should be used to get a handle of the last instruction in the vertex.

Author:
< a href="jddixon@users.sourceforge.net">Jim Dixon

Field Summary
 org.apache.bcel.generic.ObjectType exception
          Type of exception handled.
 Vertex handlerPC
          First code vertex in handler.
 Vertex tryEnd
          Last code Vertex in try block.
 Vertex tryStart
          First code vertex in try block.
 
Constructor Summary
CatchData(Vertex start, Vertex end, Vertex handler, org.apache.bcel.generic.ObjectType exc)
          The information needed to set up an exception handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tryStart

public Vertex tryStart
First code vertex in try block.


tryEnd

public Vertex tryEnd
Last code Vertex in try block.


handlerPC

public Vertex handlerPC
First code vertex in handler.


exception

public org.apache.bcel.generic.ObjectType exception
Type of exception handled.

Constructor Detail

CatchData

public CatchData(Vertex start,
                 Vertex end,
                 Vertex handler,
                 org.apache.bcel.generic.ObjectType exc)
The information needed to set up an exception handler.



Copyright © 2001-2003 Apache Software Foundation. All Rights Reserved.