java.lang.Object
com.chaoswg.xtc4y.classdesc.ExceptionInfo
- public class ExceptionInfo
- extends java.lang.Object
IS used to descibe an exception in a code attribute
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
catchType
private ClassCPEntry catchType
startInstr
private com.chaoswg.xtc4y.classdesc.code.instructions.Instruction startInstr
endInstr
private com.chaoswg.xtc4y.classdesc.code.instructions.Instruction endInstr
handlerInstr
private com.chaoswg.xtc4y.classdesc.code.instructions.Instruction handlerInstr
ExceptionInfo
protected ExceptionInfo(java.io.DataInputStream dis,
ConstantPool cp,
com.chaoswg.xtc4y.classdesc.code.Code code)
throws java.io.IOException
- Creates a ExceptionInfo and initializes it from a DataInputStream
write
protected final void write(java.io.DataOutputStream dos,
ConstantPool cp,
com.chaoswg.xtc4y.classdesc.code.Code code)
throws java.io.IOException
- Write the exception information into a DataOutputStream
getCatchType
public ClassCPEntry getCatchType()
getStartInstruction
public com.chaoswg.xtc4y.classdesc.code.instructions.Instruction getStartInstruction()
getEndInstruction
public com.chaoswg.xtc4y.classdesc.code.instructions.Instruction getEndInstruction()
getHandlerInstruction
public com.chaoswg.xtc4y.classdesc.code.instructions.Instruction getHandlerInstruction()
setStartInstruction
public void setStartInstruction(com.chaoswg.xtc4y.classdesc.code.instructions.Instruction startInstr)
- Set a new startInstr
setEndInstruction
public void setEndInstruction(com.chaoswg.xtc4y.classdesc.code.instructions.Instruction endInstr)
- Set a new endInstruction
setHandlerInstruction
public void setHandlerInstruction(com.chaoswg.xtc4y.classdesc.code.instructions.Instruction handlerInstr)
- Set a new startInstr of the handler