Class InvalidFormatException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.fasterxml.jackson.core.JacksonException
com.fasterxml.jackson.core.JsonProcessingException
All Implemented Interfaces:
Serializable

public class InvalidFormatException extends MismatchedInputException
Specialized sub-class of MismatchedInputException that is used when the underlying problem appears to be that of bad formatting of a value to deserialize.
Since:
2.1
See Also:
  • Field Details

    • _value

      protected final Object _value
      Underlying value that could not be deserialized into target type, if available.
  • Constructor Details

    • InvalidFormatException

      @Deprecated public InvalidFormatException(String msg, Object value, Class<?> targetType)
      Deprecated.
      Since 2.7 Use variant that takes JsonParser
    • InvalidFormatException

      @Deprecated public InvalidFormatException(String msg, com.fasterxml.jackson.core.JsonLocation loc, Object value, Class<?> targetType)
      Deprecated.
      Since 2.7 Use variant that takes JsonParser
    • InvalidFormatException

      public InvalidFormatException(com.fasterxml.jackson.core.JsonParser p, String msg, Object value, Class<?> targetType)
      Since:
      2.7
  • Method Details