A subclass of JsonMappingException which bundles together a failed field location as a
CaseClassFieldMappingException.PropertyPath
with the the failure reason represented by a
ValidationResult.Invalid to carry the failure reason.
A subclass of JsonMappingException which bundles together a failed field location as a
CaseClassFieldMappingException.PropertyPath
with the the failure reason represented by a
ValidationResult.Invalid to carry the failure reason.
- a CaseClassFieldMappingException.PropertyPath
instance to the case class field
that caused the failure.
- an instance of a ValidationResult.Invalid which carries details of the failure reason.
this exception is a case class in order to have a useful equals() and hashcode() methods since this exception is generally carried in a collection inside of a CaseClassMappingException.
com.fasterxml.jackson.databind.JsonMappingException
com.twitter.finatra.jackson.caseclass.exceptions.CaseClassFieldMappingException.PropertyPath
A subclass of JsonMappingException used to signal fatal problems with mapping of JSON content to a Scala case class.
A subclass of JsonMappingException used to signal fatal problems with mapping of JSON content to a Scala case class.
Per-field details (of type CaseClassFieldMappingException) are carried to provide the ability to iterate over all exceptions causing the failure to construct the case class.
This extends JsonMappingException such that this exception is properly handled when deserializing into nested case-classes.
com.fasterxml.jackson.databind.JsonMappingException
Represents an exception during deserialization due to the inability to properly inject a value via Jackson com.fasterxml.jackson.databind.InjectableValues.
Represents an exception during deserialization due to the inability to properly inject a value via Jackson com.fasterxml.jackson.databind.InjectableValues. A common cause is an incorrectly configured mapper that is not instantiated with an appropriate instance of a com.fasterxml.jackson.databind.InjectableValues that can locate the requested value to inject during deserialization.
this exception is not handled during case class deserialization and is thus expected to be handled by callers.