Package proguard.classfile.editor
Class ExceptionsAttributeEditor
- java.lang.Object
-
- proguard.classfile.editor.ExceptionsAttributeEditor
-
public class ExceptionsAttributeEditor extends java.lang.Object
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
Constructors Constructor Description ExceptionsAttributeEditor(ExceptionsAttribute targetExceptionsAttribute)
Creates a new ExceptionsAttributeEditor that will edit exceptions in the given exceptions attribute.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addException(int exceptionIndex)
Adds a given exception to the exceptions attribute.
-
-
-
Constructor Detail
-
ExceptionsAttributeEditor
public ExceptionsAttributeEditor(ExceptionsAttribute targetExceptionsAttribute)
Creates a new ExceptionsAttributeEditor that will edit exceptions in the given exceptions attribute.
-
-