Class ExceptionsAttribute

    • Field Detail

      • exceptionIndexes

        private java.util.List<java.lang.Integer> exceptionIndexes
    • Constructor Detail

      • ExceptionsAttribute

        ExceptionsAttribute​(SubClass classFile)
        Parameters:
        classFile -
        attribute_name_index -
        exceptionIndexes -
      • ExceptionsAttribute

        ExceptionsAttribute​(SubClass classFile,
                            int attribute_name_index,
                            int... exceptionIndexes)
        Deprecated.
        Use addThrowable
        Parameters:
        classFile -
        attribute_name_index -
        exceptionIndexes -
      • ExceptionsAttribute

        ExceptionsAttribute​(ClassFile classFile,
                            int attribute_name_index,
                            int attribute_length,
                            java.io.DataInput in)
                     throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • addThrowable

        public void addThrowable​(javax.lang.model.element.TypeElement thr)
      • write

        public void write​(java.io.DataOutput out)
                   throws java.io.IOException
        Specified by:
        write in interface Writable
        Overrides:
        write in class AttributeInfo
        Throws:
        java.io.IOException