org.apache.jdo.impl.enhancer.classfile
Class ExceptionTable
java.lang.Object
org.apache.jdo.impl.enhancer.classfile.ExceptionTable
- public class ExceptionTable
- extends java.lang.Object
ExceptionTable represents the exception handlers within the code
of a method.
Field Summary |
private java.util.Vector |
handlers
|
Method Summary |
void |
addElement(ExceptionRange range)
Add an exception handler to the list |
java.util.Enumeration |
handlers()
Return an enumeration of the exception handlers
Each element in the enumeration is an ExceptionRange |
boolean |
isEqual(java.util.Stack msg,
java.lang.Object obj)
Compares this instance with another for structural equality. |
(package private) void |
print(java.io.PrintStream out,
int indent)
|
(package private) static ExceptionTable |
read(java.io.DataInputStream data,
CodeEnv env)
|
(package private) void |
write(java.io.DataOutputStream out)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handlers
private java.util.Vector handlers
ExceptionTable
public ExceptionTable()
handlers
public java.util.Enumeration handlers()
- Return an enumeration of the exception handlers
Each element in the enumeration is an ExceptionRange
addElement
public void addElement(ExceptionRange range)
- Add an exception handler to the list
isEqual
public boolean isEqual(java.util.Stack msg,
java.lang.Object obj)
- Compares this instance with another for structural equality.
read
static ExceptionTable read(java.io.DataInputStream data,
CodeEnv env)
throws java.io.IOException
- Throws:
java.io.IOException
write
void write(java.io.DataOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
print
void print(java.io.PrintStream out,
int indent)