com.twitter.util.jackson.caseclass.exceptions
CaseClassFieldMappingException
Companion object CaseClassFieldMappingException
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.PropertyPath
with the the failure reason represented by a
CaseClassFieldMappingException.Reason
to carry the failure reason.
- path
- a
CaseClassFieldMappingException.PropertyPath
instance to the case class field that caused the failure.- reason
- an instance of a
CaseClassFieldMappingException.Reason
which 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
- Alphabetic
- By Inheritance
- CaseClassFieldMappingException
- Product
- Equals
- JsonMappingException
- DatabindException
- JsonProcessingException
- JacksonException
- IOException
- Exception
- Throwable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CaseClassFieldMappingException(path: PropertyPath, reason: Reason)
- path
- a
CaseClassFieldMappingException.PropertyPath
instance to the case class field that caused the failure.- reason
- an instance of a
CaseClassFieldMappingException.Reason
which carries detail of the failure reason.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def _appendPathDesc(arg0: StringBuilder): Unit
- Attributes
- protected[databind]
- Definition Classes
- JsonMappingException
- def _buildMessage(): String
- Attributes
- protected[databind]
- Definition Classes
- JsonMappingException
- final def addSuppressed(arg0: Throwable): Unit
- Definition Classes
- Throwable
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearLocation(): Unit
- Definition Classes
- JsonProcessingException
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def fillInStackTrace(): Throwable
- Definition Classes
- Throwable
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getCause(): Throwable
- Definition Classes
- Throwable
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getLocalizedMessage(): String
- Definition Classes
- JsonMappingException → Throwable
- def getLocation(): JsonLocation
- Definition Classes
- JsonProcessingException → JacksonException
- def getMessage(): String
Render a human readable message.
Render a human readable message. If the error message pertains to a specific field it is prefixed with the field's name.
- Definition Classes
- CaseClassFieldMappingException → JsonMappingException → JsonProcessingException → Throwable
- def getMessageSuffix(): String
- Attributes
- protected[core]
- Definition Classes
- JsonProcessingException
- def getOriginalMessage(): String
- Definition Classes
- JsonProcessingException → JacksonException
- def getPath(): List[Reference]
- Definition Classes
- JsonMappingException
- def getPathReference(arg0: StringBuilder): StringBuilder
- Definition Classes
- JsonMappingException
- def getPathReference(): String
- Definition Classes
- JsonMappingException
- def getProcessor(): AnyRef
- Definition Classes
- JsonMappingException → JsonProcessingException → JacksonException
- Annotations
- @JsonIgnore()
- def getStackTrace(): Array[StackTraceElement]
- Definition Classes
- Throwable
- final def getSuppressed(): Array[Throwable]
- Definition Classes
- Throwable
- def initCause(arg0: Throwable): Throwable
- Definition Classes
- Throwable
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val path: PropertyPath
- def prependPath(arg0: Reference): Unit
- Definition Classes
- JsonMappingException
- def prependPath(arg0: AnyRef, arg1: Int): Unit
- Definition Classes
- JsonMappingException → DatabindException
- def prependPath(arg0: AnyRef, arg1: String): Unit
- Definition Classes
- JsonMappingException → DatabindException
- def printStackTrace(arg0: PrintWriter): Unit
- Definition Classes
- Throwable
- def printStackTrace(arg0: PrintStream): Unit
- Definition Classes
- Throwable
- def printStackTrace(): Unit
- Definition Classes
- Throwable
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val reason: Reason
- def setStackTrace(arg0: Array[StackTraceElement]): Unit
- Definition Classes
- Throwable
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- JsonMappingException → JsonProcessingException → Throwable → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withCause(arg0: Throwable): JsonMappingException
- Definition Classes
- JsonMappingException