Class ExceptionsAttributeEditor

java.lang.Object
proguard.classfile.editor.ExceptionsAttributeEditor

public class ExceptionsAttributeEditor extends 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 Details

    • ExceptionsAttributeEditor

      public ExceptionsAttributeEditor(ExceptionsAttribute targetExceptionsAttribute)
      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.