Package thredds.server.opendap.servers
Class InvalidParameterException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- opendap.dap.DAP2Exception
-
- thredds.server.opendap.servers.DAP2ServerSideException
-
- thredds.server.opendap.servers.InvalidParameterException
-
- All Implemented Interfaces:
Serializable
public class InvalidParameterException extends DAP2ServerSideException
Used to indicate that one of the passed parameters to a method is either the wrong type, is missing, or it's value is unacceptable.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidParameterException(int err, String s)Construct aInvalidParameterExceptionwith the specified message and OPeNDAP error code (seeDAP2Exception).InvalidParameterException(String s)Construct aInvalidParameterExceptionwith the specified detail message.
-
Method Summary
-
Methods inherited from class opendap.dap.DAP2Exception
getErrorCode, getErrorMessage, getMessage, getProgramSource, getProgramType, parse, print, print, setErrorCode, setErrorMessage, setProgramSource, setProgramType
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidParameterException
public InvalidParameterException(String s)
Construct aInvalidParameterExceptionwith the specified detail message.- Parameters:
s- the detail message.
-
InvalidParameterException
public InvalidParameterException(int err, String s)Construct aInvalidParameterExceptionwith the specified message and OPeNDAP error code (seeDAP2Exception).- Parameters:
err- the OPeNDAP error code.s- the detail message.
-
-