Class/Object

com.twitter.finatra.jackson.caseclass.exceptions

CaseClassMappingException

Related Docs: object CaseClassMappingException | package exceptions

Permalink

class CaseClassMappingException extends JsonMappingException

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

CaseClassFieldMappingException

Linear Supertypes
JsonMappingException, JsonProcessingException, IOException, Exception, Throwable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CaseClassMappingException
  2. JsonMappingException
  3. JsonProcessingException
  4. IOException
  5. Exception
  6. Throwable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _appendPathDesc(arg0: StringBuilder): Unit

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind]
    Definition Classes
    JsonMappingException
  5. def _buildMessage(): String

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind]
    Definition Classes
    JsonMappingException
  6. final def addSuppressed(arg0: Throwable): Unit

    Permalink
    Definition Classes
    Throwable
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clearLocation(): Unit

    Permalink
    Definition Classes
    JsonProcessingException
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. val errors: Seq[CaseClassFieldMappingException]

    Permalink

    The collection of CaseClassFieldMappingException instances which make up this CaseClassMappingException.

    The collection of CaseClassFieldMappingException instances which make up this CaseClassMappingException. This collection is intended to be purposely exhaustive in that is specifies all errors encountered in mapping JSON content to a Scala case class.

  13. def fillInStackTrace(): Throwable

    Permalink
    Definition Classes
    Throwable
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def getCause(): Throwable

    Permalink
    Definition Classes
    Throwable
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def getLocalizedMessage(): String

    Permalink
    Definition Classes
    JsonMappingException → Throwable
  18. def getLocation(): JsonLocation

    Permalink
    Definition Classes
    JsonProcessingException
  19. def getMessage(): String

    Permalink
    Definition Classes
    CaseClassMappingException → JsonMappingException → JsonProcessingException → Throwable
  20. def getMessageSuffix(): String

    Permalink
    Attributes
    protected[com.fasterxml.jackson.core]
    Definition Classes
    JsonProcessingException
  21. def getOriginalMessage(): String

    Permalink
    Definition Classes
    JsonProcessingException
  22. def getPath(): List[Reference]

    Permalink
    Definition Classes
    JsonMappingException
  23. def getPathReference(arg0: StringBuilder): StringBuilder

    Permalink
    Definition Classes
    JsonMappingException
  24. def getPathReference(): String

    Permalink
    Definition Classes
    JsonMappingException
  25. def getProcessor(): AnyRef

    Permalink
    Definition Classes
    JsonMappingException → JsonProcessingException
    Annotations
    @JsonIgnore()
  26. def getStackTrace(): Array[StackTraceElement]

    Permalink
    Definition Classes
    Throwable
  27. final def getSuppressed(): Array[Throwable]

    Permalink
    Definition Classes
    Throwable
  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  29. def initCause(arg0: Throwable): Throwable

    Permalink
    Definition Classes
    Throwable
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. def prependPath(arg0: Reference): Unit

    Permalink
    Definition Classes
    JsonMappingException
  35. def prependPath(arg0: Any, arg1: Int): Unit

    Permalink
    Definition Classes
    JsonMappingException
  36. def prependPath(arg0: Any, arg1: String): Unit

    Permalink
    Definition Classes
    JsonMappingException
  37. def printStackTrace(arg0: PrintWriter): Unit

    Permalink
    Definition Classes
    Throwable
  38. def printStackTrace(arg0: PrintStream): Unit

    Permalink
    Definition Classes
    Throwable
  39. def printStackTrace(): Unit

    Permalink
    Definition Classes
    Throwable
  40. def setStackTrace(arg0: Array[StackTraceElement]): Unit

    Permalink
    Definition Classes
    Throwable
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  42. def toString(): String

    Permalink
    Definition Classes
    JsonMappingException → JsonProcessingException → Throwable → AnyRef → Any
  43. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JsonMappingException

Inherited from JsonProcessingException

Inherited from IOException

Inherited from Exception

Inherited from Throwable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped