|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.classfile.HandlerInfo
public class HandlerInfo
This class represents a protected (try) portion of block with an handler (catch) for a specified type of exception
Constructor Summary | |
---|---|
HandlerInfo(DataInput in,
ConstantPool cp,
Instruction[] insns)
Constructs a new exception handler info entry from a class file |
|
HandlerInfo(InstructionAccessor start,
InstructionAccessor end,
InstructionAccessor handler,
String thrown)
Constructs a new exception handler info entry |
Method Summary | |
---|---|
InstructionAccessor |
getEnd()
|
InstructionAccessor |
getHandler()
|
InstructionAccessor |
getStart()
|
String |
getThrown()
|
void |
setEnd(InstructionAccessor end)
|
void |
setHandler(InstructionAccessor handler)
|
void |
setStart(InstructionAccessor start)
|
void |
transformAccessors(AccessorTransformer transformer)
Transforms targets (deferences to actual instructions). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HandlerInfo(InstructionAccessor start, InstructionAccessor end, InstructionAccessor handler, String thrown)
start
- the beginning of the checked area (inclusive)end
- the end of the checked area (inclusive !)handler
- the entrypoint into the exception handling routine.thrown
- the exceptions handled by this routinepublic HandlerInfo(DataInput in, ConstantPool cp, Instruction[] insns) throws IOException
in
- the stream to read fromcp
- the constant poolinsns
- (sparse) array of instructions
IOException
- an io problem has occuredMethod Detail |
---|
public void transformAccessors(AccessorTransformer transformer) throws BadAccessorException
transformAccessors
in interface AccessorContainer
transformer
- the transformer used to transform accessors
BadAccessorException
public void setStart(InstructionAccessor start)
public InstructionAccessor getStart()
public void setEnd(InstructionAccessor end)
public InstructionAccessor getEnd()
public void setHandler(InstructionAccessor handler)
public InstructionAccessor getHandler()
public String getThrown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |