public class AttributeExistsException extends DASException
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.AttributeTable
,
Serialized FormCANNOT_READ_FILE, JAVA_PROGRAM, MALFORMED_EXPR, NO_AUTHORIZATION, NO_PROGRAM, NO_SUCH_FILE, NO_SUCH_VARIABLE, TCL_PROGRAM, UNDEFINED_ERROR, UNDEFINED_PROG_TYPE, UNKNOWN_ERROR
Constructor and Description |
---|
AttributeExistsException(int err,
java.lang.String s)
Construct a
AttributeExistsException with the specified
message and OPeNDAP error code see (DAP2Exception ). |
AttributeExistsException(java.lang.String s)
Construct a
AttributeExistsException with the specified
message. |
getErrorCode, getErrorMessage, getMessage, getProgramSource, getProgramType, parse, print, print, setErrorCode, setErrorMessage, setProgramSource, setProgramType
public AttributeExistsException(java.lang.String s)
AttributeExistsException
with the specified
message.s
- the detail message.public AttributeExistsException(int err, java.lang.String s)
AttributeExistsException
with the specified
message and OPeNDAP error code see (DAP2Exception
).err
- the OPeNDAP error code.s
- the detail message.