Package

com.twitter.finatra.json.internal.caseclass

exceptions

Permalink

package exceptions

Visibility
  1. Public
  2. All

Type Members

  1. case class CaseClassMappingException(validationExceptions: Set[CaseClassValidationException] = Set()) extends JsonMappingException with Product with Serializable

    Permalink
  2. case class CaseClassValidationException(path: PropertyPath, reason: Invalid) extends Exception with Product with Serializable

    Permalink

    An exception that bundles together a failed validation with the associated field that failed the validation.

    An exception that bundles together a failed validation with the associated field that failed the validation.

    path

    - path to the case class field that caused the validation failure

    reason

    - the validation failure

  3. class FinatraJsonMappingException extends JsonMappingException

    Permalink

    Exception for handling Finatra-specific errors that may otherwise be valid in the eyes of Jackson.

    Exception for handling Finatra-specific errors that may otherwise be valid in the eyes of Jackson.

    Note

    the given msg generally passes all the way up the stack to the caller of the method throwing this Exception, thus care should be taken to not leak any internal implementation details.

  4. case class JsonInjectException(parentClass: Class[_], fieldName: String, key: Key[_], cause: Throwable) extends Exception with NoStackTrace with Product with Serializable

    Permalink
  5. case class JsonInjectionNotSupportedException(parentClass: Class[_], fieldName: String) extends Exception with Product with Serializable

    Permalink
  6. class RepeatedCommaSeparatedQueryParameterException extends Exception

    Permalink
  7. class RequestFieldInjectionNotSupportedException extends Exception

    Permalink

Value Members

  1. object CaseClassValidationException extends Serializable

    Permalink

Ungrouped