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

Quick Search    Search Deep

com.chaoswg.xtc4y.classdesc
Class ExceptionInfo  view ExceptionInfo download ExceptionInfo.java

java.lang.Object
  extended bycom.chaoswg.xtc4y.classdesc.ExceptionInfo

public class ExceptionInfo
extends java.lang.Object

IS used to descibe an exception in a code attribute


Field Summary
private  ClassCPEntry catchType
           
private  com.chaoswg.xtc4y.classdesc.code.instructions.Instruction endInstr
           
private  com.chaoswg.xtc4y.classdesc.code.instructions.Instruction handlerInstr
           
private  com.chaoswg.xtc4y.classdesc.code.instructions.Instruction startInstr
           
 
Constructor Summary
protected ExceptionInfo(java.io.DataInputStream dis, ConstantPool cp, com.chaoswg.xtc4y.classdesc.code.Code code)
          Creates a ExceptionInfo and initializes it from a DataInputStream
 
Method Summary
 ClassCPEntry getCatchType()
           
 com.chaoswg.xtc4y.classdesc.code.instructions.Instruction getEndInstruction()
           
 com.chaoswg.xtc4y.classdesc.code.instructions.Instruction getHandlerInstruction()
           
 com.chaoswg.xtc4y.classdesc.code.instructions.Instruction getStartInstruction()
           
 void setEndInstruction(com.chaoswg.xtc4y.classdesc.code.instructions.Instruction endInstr)
          Set a new endInstruction
 void setHandlerInstruction(com.chaoswg.xtc4y.classdesc.code.instructions.Instruction handlerInstr)
          Set a new startInstr of the handler
 void setStartInstruction(com.chaoswg.xtc4y.classdesc.code.instructions.Instruction startInstr)
          Set a new startInstr
protected  void write(java.io.DataOutputStream dos, ConstantPool cp, com.chaoswg.xtc4y.classdesc.code.Code code)
          Write the exception information into a DataOutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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

Method Detail

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