Class WrongParameterValueException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID
      Generated serial version UID.
    • Constructor Summary

      Constructors 
      Constructor Description
      WrongParameterValueException​(Parameter<?> parameter, java.lang.String mid, Parameter<?> parameter2, java.lang.String reason)
      Thrown by a Parameterizable object in case of wrong parameter format.
      WrongParameterValueException​(Parameter<?> parameter, java.lang.String read, java.lang.String reason)
      Thrown by a Parameterizable object in case of wrong parameter format.
      WrongParameterValueException​(Parameter<?> parameter, java.lang.String read, java.lang.String reason, java.lang.Throwable cause)
      Thrown by a Parameterizable object in case of wrong parameter format.
      WrongParameterValueException​(java.lang.String message)
      Thrown by a Parameterizable object in case of wrong parameter format.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.lang.String formatCause​(java.lang.Throwable cause)
      Format the error cause.
      private static java.lang.String formatRead​(java.lang.String read)
      Format the value read for the parameter.
      • 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
        Generated serial version UID.
        See Also:
        Constant Field Values
    • Constructor Detail

      • WrongParameterValueException

        public WrongParameterValueException​(Parameter<?> parameter,
                                            java.lang.String read,
                                            java.lang.String reason,
                                            java.lang.Throwable cause)
        Thrown by a Parameterizable object in case of wrong parameter format.
        Parameters:
        parameter - the parameter that has a wrong value
        read - the value of the parameter read
        reason - detailed error description
        cause - the cause
      • WrongParameterValueException

        public WrongParameterValueException​(Parameter<?> parameter,
                                            java.lang.String read,
                                            java.lang.String reason)
        Thrown by a Parameterizable object in case of wrong parameter format.
        Parameters:
        parameter - the parameter that has a wrong value
        read - the value of the parameter read
        reason - detailed error description
      • WrongParameterValueException

        public WrongParameterValueException​(Parameter<?> parameter,
                                            java.lang.String mid,
                                            Parameter<?> parameter2,
                                            java.lang.String reason)
        Thrown by a Parameterizable object in case of wrong parameter format.
        Parameters:
        parameter - the parameter that has a wrong value
        parameter2 - the second parameter that has a wrong value
        reason - detailed error description
      • WrongParameterValueException

        public WrongParameterValueException​(java.lang.String message)
        Thrown by a Parameterizable object in case of wrong parameter format.
        Parameters:
        message - detail message
    • Method Detail

      • formatRead

        private static java.lang.String formatRead​(java.lang.String read)
        Format the value read for the parameter.
        Parameters:
        read - Read value
        Returns:
        String
      • formatCause

        private static java.lang.String formatCause​(java.lang.Throwable cause)
        Format the error cause.
        Parameters:
        cause - Error cause.
        Returns:
        String representation