public class AttributeBadValueException extends DASException
Attribute
when a bad value
(not one of the supported types) is stored in an Attribute.Attribute
,
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 |
---|
AttributeBadValueException(int err,
java.lang.String s)
Construct a
AttributeBadValueException with the specified
message and OPeNDAP error code see (DAP2Exception ). |
AttributeBadValueException(java.lang.String s)
Construct a
AttributeBadValueException with the specified
message. |
getErrorCode, getErrorMessage, getMessage, getProgramSource, getProgramType, parse, print, print, setErrorCode, setErrorMessage, setProgramSource, setProgramType
public AttributeBadValueException(java.lang.String s)
AttributeBadValueException
with the specified
message.s
- the detail message.public AttributeBadValueException(int err, java.lang.String s)
AttributeBadValueException
with the specified
message and OPeNDAP error code see (DAP2Exception
).err
- the OPeNDAP error code.s
- the detail message.