Class ExceptionsAttribute

  • All Implemented Interfaces:
    WritableEntry

    public class ExceptionsAttribute
    extends Attribute
    The exceptions attribute, stores the checked exceptions a method is declared to throw
    • Field Detail

      • exceptionClasses

        private final java.util.List<java.lang.String> exceptionClasses
      • exceptionClassIndexes

        private final java.util.List<java.lang.Short> exceptionClassIndexes
      • constPool

        private final ConstPool constPool
    • Constructor Detail

      • ExceptionsAttribute

        public ExceptionsAttribute​(ConstPool constPool)
    • Method Detail

      • addExceptionClass

        public void addExceptionClass​(java.lang.String exception)