Class ExceptionsAttribute

  • All Implemented Interfaces:
    VMConstants

    public class ExceptionsAttribute
    extends ClassAttribute
    ExceptionsAttribute represents a method attribute in a class file listing the checked exceptions for the method.
    • Constructor Detail

      • ExceptionsAttribute

        public ExceptionsAttribute​(ConstUtf8 attrName,
                                   Vector excTable)
        Constructor
      • ExceptionsAttribute

        public ExceptionsAttribute​(ConstUtf8 attrName,
                                   ConstClass exc)
        Convenience Constructor - for single exception
    • Method Detail

      • exceptions

        public Enumeration exceptions()
        Return an enumeration of the checked exceptions