Class InvalidParameterFormatException

  • All Implemented Interfaces:
    Serializable

    public class InvalidParameterFormatException
    extends ParameterParseException
    An invalid parameter format exception that is thrown by ParameterConverters if the format of the parameter is invalid, for example some text for a number-parsing converter. 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

      • InvalidParameterFormatException

        public InvalidParameterFormatException​(String message)
        Constructs a new invalid parameter format 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
      • InvalidParameterFormatException

        public InvalidParameterFormatException​(String message,
                                               Throwable cause)
        Constructs a new invalid parameter format 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