Class ParameterValueException

All Implemented Interfaces:
Serializable

public class ParameterValueException extends UsageException
Exception generated when the value of a parameter is invalid.

Note each of the constructors takes the parameter in question as its first argument.

See Also:
  • Constructor Details

    • ParameterValueException

      public ParameterValueException(Parameter<?> par)
    • ParameterValueException

      public ParameterValueException(Parameter<?> par, String message)
    • ParameterValueException

      public ParameterValueException(Parameter<?> par, String message, Throwable cause)
    • ParameterValueException

      public ParameterValueException(Parameter<?> par, Throwable cause)
  • Method Details

    • getParameter

      public Parameter<?> getParameter()
      Returns the parameter with which this exception is associated.
      Returns:
      parameter