Class CoercionFailedException

    • Constructor Summary

      Constructors 
      Constructor Description
      CoercionFailedException​(java.lang.Object inputValue, java.lang.String typeDescription)
      Indicate that a value transformation has failed.
      CoercionFailedException​(java.lang.reflect.AnnotatedType target, java.lang.Object inputValue, java.lang.String typeDescription)
      Indicate that a value transformation has failed.
      CoercionFailedException​(java.lang.reflect.Type target, java.lang.Object inputValue, java.lang.String typeDescription)
      Indicate that a value transformation has failed.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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
    • Constructor Detail

      • CoercionFailedException

        public CoercionFailedException​(java.lang.Object inputValue,
                                       java.lang.String typeDescription)
        Indicate that a value transformation has failed.
        Parameters:
        inputValue - original value
        typeDescription - description of the expected type
        Since:
        4.0.0
      • CoercionFailedException

        public CoercionFailedException​(java.lang.reflect.Type target,
                                       java.lang.Object inputValue,
                                       java.lang.String typeDescription)
        Indicate that a value transformation has failed.
        Parameters:
        target - expected type
        inputValue - original value
        typeDescription - description of the expected type
        Since:
        4.0.0
      • CoercionFailedException

        public CoercionFailedException​(java.lang.reflect.AnnotatedType target,
                                       java.lang.Object inputValue,
                                       java.lang.String typeDescription)
        Indicate that a value transformation has failed.
        Parameters:
        target - expected type
        inputValue - original value
        typeDescription - description of the expected type
        Since:
        4.2.0