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