|
|||||||||
| Home >> All >> org >> apache >> bcel >> [ classfile overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.bcel.classfile
Class CodeException

java.lang.Objectorg.apache.bcel.classfile.CodeException
- All Implemented Interfaces:
- java.lang.Cloneable, org.apache.bcel.Constants, Node, java.io.Serializable
- public final class CodeException
- extends java.lang.Object
- implements java.lang.Cloneable, org.apache.bcel.Constants, Node, java.io.Serializable
- extends java.lang.Object
This class represents an entry in the exception table of the Code attribute and is used only there. It contains a range in which a particular exception handler is active.
- Version:
- $Id: CodeException.java 386056 2006-03-15 11:31:56Z tcurdt $
| Field Summary | |
private int |
catch_type
|
private int |
end_pc
|
private int |
handler_pc
|
private int |
start_pc
|
| Constructor Summary | |
|
CodeException(CodeException c)
Initialize from another object. |
(package private) |
CodeException(java.io.DataInputStream file)
Construct object from file stream. |
|
CodeException(int start_pc,
int end_pc,
int handler_pc,
int catch_type)
|
| Method Summary | |
void |
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. |
CodeException |
copy()
|
void |
dump(java.io.DataOutputStream file)
Dump code exception to file stream in binary format. |
int |
getCatchType()
|
int |
getEndPC()
|
int |
getHandlerPC()
|
int |
getStartPC()
|
void |
setCatchType(int catch_type)
|
void |
setEndPC(int end_pc)
|
void |
setHandlerPC(int handler_pc)
|
void |
setStartPC(int start_pc)
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
java.lang.String |
toString(ConstantPool cp)
|
java.lang.String |
toString(ConstantPool cp,
boolean verbose)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
start_pc
private int start_pc
end_pc
private int end_pc
handler_pc
private int handler_pc
catch_type
private int catch_type
| Constructor Detail |
CodeException
public CodeException(CodeException c)
- Initialize from another object.
CodeException
CodeException(java.io.DataInputStream file) throws java.io.IOException
- Construct object from file stream.
CodeException
public CodeException(int start_pc,
int end_pc,
int handler_pc,
int catch_type)
| Method Detail |
accept
public void accept(Visitor v)
- Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class. I.e., the hierarchy of methods,
fields, attributes, etc. spawns a tree of objects.
dump
public final void dump(java.io.DataOutputStream file) throws java.io.IOException
- Dump code exception to file stream in binary format.
getCatchType
public final int getCatchType()
getEndPC
public final int getEndPC()
getHandlerPC
public final int getHandlerPC()
getStartPC
public final int getStartPC()
setCatchType
public final void setCatchType(int catch_type)
setEndPC
public final void setEndPC(int end_pc)
setHandlerPC
public final void setHandlerPC(int handler_pc)
setStartPC
public final void setStartPC(int start_pc)
toString
public final java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
toString
public final java.lang.String toString(ConstantPool cp, boolean verbose)
toString
public final java.lang.String toString(ConstantPool cp)
copy
public CodeException copy()
|
|||||||||
| Home >> All >> org >> apache >> bcel >> [ classfile overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.bcel.classfile.CodeException