|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--javar.attributes.Attribute
|
+--javar.attributes.MethodException
This is an attribute of a method which contains the data for exceptions
| Field Summary |
| Fields inherited from class javar.attributes.Attribute |
nameIndex, pool |
| Constructor Summary | |
MethodException(ConstantPool p,
long name)
Constructor |
|
| Method Summary | |
long[] |
getThrowsClasses()
This will get the throws classes that this method has. |
List |
getThrowsClassesList()
This will get all of the throw classes for this method |
void |
load(DataInputStream in)
This will load the contents of an attribute |
byte[] |
toBytes()
This will take this attribute and convert it into an array of bytes that can be stored in a classfile. |
| Methods inherited from class javar.attributes.Attribute |
getName, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MethodException(ConstantPool p,
long name)
| Method Detail |
public long[] getThrowsClasses()
public List getThrowsClassesList()
throws JavarParseException
JavarParseException - If there is an error getting the throws
class list;public byte[] toBytes()
toBytes in class Attributepublic void load(DataInputStream in)
load in class Attributein - the stream to get the data from
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||