Class ParameterValueException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Constructor Detail

      • ParameterValueException

        public ParameterValueException​(Parameter par)
      • ParameterValueException

        public ParameterValueException​(Parameter par,
                                       java.lang.String message)
      • ParameterValueException

        public ParameterValueException​(Parameter par,
                                       java.lang.String message,
                                       java.lang.Throwable cause)
      • ParameterValueException

        public ParameterValueException​(Parameter par,
                                       java.lang.Throwable cause)
    • Method Detail

      • getParameter

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