Class InputCoercionException

  • All Implemented Interfaces:
    Serializable

    public class InputCoercionException
    extends StreamReadException
    Exception type for read-side problems that are not direct decoding ("parsing") problems (those would be reported as JsonParseExceptions), but rather result from failed attempts to convert specific Java value out of valid but incompatible input value. One example is numeric coercions where target number type's range does not allow mapping of too large/too small input value.
    Since:
    2.10
    See Also:
    Serialized Form