Package proguard.classfile.editor
Class ExceptionsAttributeEditor
java.lang.Object
proguard.classfile.editor.ExceptionsAttributeEditor
This class can add exceptions to a given exceptions attribute. Exceptions to be added must have
been added to the constant pool and filled out beforehand.
-
Constructor Summary
ConstructorsConstructorDescriptionExceptionsAttributeEditor(ExceptionsAttribute targetExceptionsAttribute) Creates a new ExceptionsAttributeEditor that will edit exceptions in the given exceptions attribute. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddException(int exceptionIndex) Adds a given exception to the exceptions attribute.
-
Constructor Details
-
ExceptionsAttributeEditor
Creates a new ExceptionsAttributeEditor that will edit exceptions in the given exceptions attribute.
-
-
Method Details
-
addException
public void addException(int exceptionIndex) Adds a given exception to the exceptions attribute.
-