Package opendap.dap

Class AttributeExistsException

  • All Implemented Interfaces:
    Serializable

    public class AttributeExistsException
    extends DASException
    Thrown by AttributeTable when an attempt is made to create an attribute that already exists. Creating an alias with the name of an existing attribute will also trigger this exception.
    See Also:
    AttributeTable, Serialized Form
    • Constructor Detail

      • AttributeExistsException

        public AttributeExistsException​(String s)
        Construct a AttributeExistsException with the specified message.
        Parameters:
        s - the detail message.
      • AttributeExistsException

        public AttributeExistsException​(int err,
                                        String s)
        Construct a AttributeExistsException with the specified message and OPeNDAP error code see (DAP2Exception).
        Parameters:
        err - the OPeNDAP error code.
        s - the detail message.