Class CoercionFailedException

    • Constructor Detail

      • CoercionFailedException

        public CoercionFailedException​(Object inputValue,
                                       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​(Type target,
                                       Object inputValue,
                                       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