public class InvalidParameterException extends DAP2ServerSideException
CANNOT_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 |
---|
InvalidParameterException(int err,
java.lang.String s)
Construct a
InvalidParameterException with the specified
message and OPeNDAP error code (see DAP2Exception ). |
InvalidParameterException(java.lang.String s)
Construct a
InvalidParameterException with the specified
detail message. |
getErrorCode, getErrorMessage, getMessage, getProgramSource, getProgramType, parse, print, print, setErrorCode, setErrorMessage, setProgramSource, setProgramType
public InvalidParameterException(java.lang.String s)
InvalidParameterException
with the specified
detail message.s
- the detail message.public InvalidParameterException(int err, java.lang.String s)
InvalidParameterException
with the specified
message and OPeNDAP error code (see DAP2Exception
).err
- the OPeNDAP error code.s
- the detail message.