Class/Object

com.twitter.finatra.jackson.caseclass.exceptions

CaseClassFieldMappingException

Related Docs: object CaseClassFieldMappingException | package exceptions

Permalink

case class CaseClassFieldMappingException(path: PropertyPath, reason: Invalid) 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 ValidationResult.Invalid to carry the failure reason.

path

- a CaseClassFieldMappingException.PropertyPath instance to the case class field that caused the failure.

reason

- an instance of a ValidationResult.Invalid which carries details 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

CaseClassMappingException

com.fasterxml.jackson.databind.JsonMappingException

com.twitter.finatra.validation.ValidationResult.Invalid

com.twitter.finatra.jackson.caseclass.exceptions.CaseClassFieldMappingException.PropertyPath

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

Instance Constructors

  1. new CaseClassFieldMappingException(path: PropertyPath, reason: Invalid)

    Permalink

    path

    - a CaseClassFieldMappingException.PropertyPath instance to the case class field that caused the failure.

    reason

    - an instance of a ValidationResult.Invalid which carries details of the failure reason.

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
    @HotSpotIntrinsicCandidate() @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def fillInStackTrace(): Throwable

    Permalink
    Definition Classes
    Throwable
  12. def getCause(): Throwable

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def getLocalizedMessage(): String

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

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

    Permalink

    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
  17. def getMessageSuffix(): String

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Throwable
  25. def initCause(arg0: Throwable): Throwable

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  30. val path: PropertyPath

    Permalink

    - a CaseClassFieldMappingException.PropertyPath instance to the case class field that caused the failure.

  31. def prependPath(arg0: Reference): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    Throwable
  37. val reason: Invalid

    Permalink

    - an instance of a ValidationResult.Invalid which carries details of the failure reason.

  38. def setStackTrace(arg0: Array[StackTraceElement]): Unit

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

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

    Permalink
    Definition Classes
    JsonMappingException → JsonProcessingException → Throwable → AnyRef → Any
  41. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Product

Inherited from Equals

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