package exceptions
- Alphabetic
- By Inheritance
- exceptions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
CaseClassFieldMappingException(path: PropertyPath, reason: Reason) extends JsonMappingException with Product with Serializable
A subclass of JsonMappingException which bundles together a failed field location as a
CaseClassFieldMappingException.PropertyPathwith the the failure reason represented by aCaseClassFieldMappingException.Reasonto carry the failure reason.A subclass of JsonMappingException which bundles together a failed field location as a
CaseClassFieldMappingException.PropertyPathwith the the failure reason represented by aCaseClassFieldMappingException.Reasonto carry the failure reason.- path
- a
CaseClassFieldMappingException.PropertyPathinstance to the case class field that caused the failure.- reason
- an instance of a
CaseClassFieldMappingException.Reasonwhich carries detail of the failure reason.
- Note
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.
- See also
com.twitter.util.jackson.caseclass.exceptions.CaseClassFieldMappingException.PropertyPath
com.twitter.util.jackson.caseclass.exceptions.CaseClassFieldMappingException.Reason
com.fasterxml.jackson.databind.JsonMappingException
-
class
CaseClassMappingException extends JsonMappingException
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.
- See also
com.fasterxml.jackson.databind.JsonMappingException
-
class
InjectableValuesException extends Exception with NoStackTrace
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.
- Note
this exception is not handled during case class deserialization and is thus expected to be handled by callers.
- implicit final class RichJsonProcessingException[E <: JsonProcessingException] extends AnyVal
Value Members
- object CaseClassFieldMappingException extends Serializable
- object CaseClassMappingException extends Serializable