Class InvalidParameterValueException

  • All Implemented Interfaces:
    Serializable

    public class InvalidParameterValueException
    extends ParameterParseException
    An invalid parameter value exception that is thrown by ParameterConverters if the value of the parameter is invalid though the format was correct, for example the id of an unknown user. The message should be written in a way so that it can be directly presented to the end user.
    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidParameterValueException

        public InvalidParameterValueException​(String message)
        Constructs a new invalid parameter value exception with the given message. The message should be written in a way so that it can be directly presented to the end user.
        Parameters:
        message - the detail message
      • InvalidParameterValueException

        public InvalidParameterValueException​(String message,
                                              Throwable cause)
        Constructs a new invalid parameter value exception with the given message and cause. The message should be written in a way so that it can be directly presented to the end user.
        Parameters:
        message - the detail message
        cause - the cause