Packages

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

CaseClassMappingException

Linear Supertypes
Product, Equals, JsonMappingException, DatabindException, JsonProcessingException, JacksonException, IOException, Exception, Throwable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CaseClassFieldMappingException
  2. Product
  3. Equals
  4. JsonMappingException
  5. DatabindException
  6. JsonProcessingException
  7. JacksonException
  8. IOException
  9. Exception
  10. Throwable
  11. Serializable
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def _appendPathDesc(arg0: StringBuilder): Unit
    Attributes
    protected[databind]
    Definition Classes
    JsonMappingException
  5. def _buildMessage(): String
    Attributes
    protected[databind]
    Definition Classes
    JsonMappingException
  6. final def addSuppressed(arg0: Throwable): Unit
    Definition Classes
    Throwable
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clearLocation(): Unit
    Definition Classes
    JsonProcessingException
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def fillInStackTrace(): Throwable
    Definition Classes
    Throwable
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def getCause(): Throwable
    Definition Classes
    Throwable
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def getLocalizedMessage(): String
    Definition Classes
    JsonMappingException → Throwable
  16. def getLocation(): JsonLocation
    Definition Classes
    JsonProcessingException → JacksonException
  17. 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
  18. def getMessageSuffix(): String
    Attributes
    protected[core]
    Definition Classes
    JsonProcessingException
  19. def getOriginalMessage(): String
    Definition Classes
    JsonProcessingException → JacksonException
  20. def getPath(): List[Reference]
    Definition Classes
    JsonMappingException
  21. def getPathReference(arg0: StringBuilder): StringBuilder
    Definition Classes
    JsonMappingException
  22. def getPathReference(): String
    Definition Classes
    JsonMappingException
  23. def getProcessor(): AnyRef
    Definition Classes
    JsonMappingException → JsonProcessingException → JacksonException
    Annotations
    @JsonIgnore()
  24. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Throwable
  25. final def getSuppressed(): Array[Throwable]
    Definition Classes
    Throwable
  26. def initCause(arg0: Throwable): Throwable
    Definition Classes
    Throwable
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. val path: PropertyPath
  32. def prependPath(arg0: Reference): Unit
    Definition Classes
    JsonMappingException
  33. def prependPath(arg0: AnyRef, arg1: Int): Unit
    Definition Classes
    JsonMappingException → DatabindException
  34. def prependPath(arg0: AnyRef, arg1: String): Unit
    Definition Classes
    JsonMappingException → DatabindException
  35. def printStackTrace(arg0: PrintWriter): Unit
    Definition Classes
    Throwable
  36. def printStackTrace(arg0: PrintStream): Unit
    Definition Classes
    Throwable
  37. def printStackTrace(): Unit
    Definition Classes
    Throwable
  38. def productElementNames: Iterator[String]
    Definition Classes
    Product
  39. val reason: Reason
  40. def setStackTrace(arg0: Array[StackTraceElement]): Unit
    Definition Classes
    Throwable
  41. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  42. def toString(): String
    Definition Classes
    JsonMappingException → JsonProcessingException → Throwable → AnyRef → Any
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. def withCause(arg0: Throwable): JsonMappingException
    Definition Classes
    JsonMappingException

Inherited from Product

Inherited from Equals

Inherited from JsonMappingException

Inherited from DatabindException

Inherited from JsonProcessingException

Inherited from JacksonException

Inherited from IOException

Inherited from Exception

Inherited from Throwable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped