Class 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 Detail

      • InvalidParameterException

        public InvalidParameterException​(String s)
        Construct a InvalidParameterException with the specified detail message.
        Parameters:
        s - the detail message.
      • InvalidParameterException

        public InvalidParameterException​(int err,
                                         String s)
        Construct a InvalidParameterException with the specified message and OPeNDAP error code (see DAP2Exception).
        Parameters:
        err - the OPeNDAP error code.
        s - the detail message.