Class InvalidParameterValueException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String parameterName
      The parameter name.
      private static long serialVersionUID
      Serial number for inter-operability with different versions.
      private java.lang.Object value
      The invalid parameter value.
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidParameterValueException​(java.lang.String message, java.lang.String parameterName, double value)
      Creates an exception with the specified invalid value as a floating point.
      InvalidParameterValueException​(java.lang.String message, java.lang.String parameterName, int value)
      Creates an exception with the specified invalid value as an integer.
      InvalidParameterValueException​(java.lang.String message, java.lang.String parameterName, java.lang.Object value)
      Creates an exception with the specified invalid value.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getParameterName()
      Returns the parameter name.
      java.lang.Object getValue()
      Returns the invalid parameter value.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Serial number for inter-operability with different versions.
        See Also:
        Constant Field Values
      • parameterName

        private final java.lang.String parameterName
        The parameter name.
      • value

        private final java.lang.Object value
        The invalid parameter value.
    • Constructor Detail

      • InvalidParameterValueException

        public InvalidParameterValueException​(java.lang.String message,
                                              java.lang.String parameterName,
                                              java.lang.Object value)
        Creates an exception with the specified invalid value.
        Parameters:
        message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
        parameterName - The parameter name.
        value - The invalid parameter value.
      • InvalidParameterValueException

        public InvalidParameterValueException​(java.lang.String message,
                                              java.lang.String parameterName,
                                              double value)
        Creates an exception with the specified invalid value as a floating point.
        Parameters:
        message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
        parameterName - The parameter name.
        value - The invalid parameter value.
      • InvalidParameterValueException

        public InvalidParameterValueException​(java.lang.String message,
                                              java.lang.String parameterName,
                                              int value)
        Creates an exception with the specified invalid value as an integer.
        Parameters:
        message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
        parameterName - The parameter name.
        value - The invalid parameter value.
    • Method Detail

      • getParameterName

        public java.lang.String getParameterName()
        Returns the parameter name.
        Returns:
        The parameter name.
      • getValue

        public java.lang.Object getValue()
        Returns the invalid parameter value.
        Returns:
        The invalid parameter value.