Exceptions_attribute.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | tag
The name of this attribute |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| private | ExceptionsAttribute(ConstPool
constant pool table. cp, ExceptionsAttribute source attribute. src, Map<String, String> classnames)Constructs a copy of an exceptions attribute. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AttributeInfo | |
| private void | copyFrom(ExceptionsAttribute
source Exceptions attribute srcAttr, Map<String, String> pairs of replaced and substituted
class names. classnames)Copies the contents from a source attribute. |
| public int | |
| public int[] | |
| public String[] | |
| public void | |
| public void | |
| public int |
| tag | back to summary |
|---|---|
| public static final String tag The name of this attribute | |
| ExceptionsAttribute | back to summary |
|---|---|
| pack-priv ExceptionsAttribute(ConstPool cp, int n, DataInputStream in) throws IOException | |
| ExceptionsAttribute | back to summary |
|---|---|
| private ExceptionsAttribute(ConstPool cp, ExceptionsAttribute src, Map<String, String> classnames) Constructs a copy of an exceptions attribute.
| |
| ExceptionsAttribute | back to summary |
|---|---|
| public ExceptionsAttribute(ConstPool cp) Constructs a new exceptions attribute.
| |
| copy | back to summary |
|---|---|
| public AttributeInfo copy(ConstPool newCp, Map<String, String> classnames) Overrides javassist. Makes a copy. Class names are replaced according to the
given | |
| copyFrom | back to summary |
|---|---|
| private void copyFrom(ExceptionsAttribute srcAttr, Map<String, String> classnames) Copies the contents from a source attribute. Specified class names are replaced during the copy.
| |
| getException | back to summary |
|---|---|
| public int getException(int nth) Returns the value of | |
| getExceptionIndexes | back to summary |
|---|---|
| public int[] getExceptionIndexes() Returns | |
| getExceptions | back to summary |
|---|---|
| public String[] getExceptions() Returns the names of exceptions that the method may throw. | |
| setExceptionIndexes | back to summary |
|---|---|
| public void setExceptionIndexes(int[] elist) Sets | |
| setExceptions | back to summary |
|---|---|
| public void setExceptions(String[] elist) Sets the names of exceptions that the method may throw. | |
| tableLength | back to summary |
|---|---|
| public int tableLength() Returns | |