Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExceptionsAttributeEditor

        public ExceptionsAttributeEditor​(ExceptionsAttribute targetExceptionsAttribute)
        Creates a new ExceptionsAttributeEditor that will edit exceptions in the given exceptions attribute.
    • Method Detail

      • addException

        public void addException​(int exceptionIndex)
        Adds a given exception to the exceptions attribute.