Packages

package exceptions

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. exceptions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

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

    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

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

    CaseClassFieldMappingException

    com.fasterxml.jackson.databind.JsonMappingException

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

  4. implicit final class RichJsonProcessingException[E <: JsonProcessingException] extends AnyVal

Inherited from AnyRef

Inherited from Any

Ungrouped