package exception
- Alphabetic
- Public
- Protected
Type Members
- final case class AlreadyExistsException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.exists", status: Int = ErrorCode.Conflict, stacktrace: Option[String] = None, json: Json = Json.Null) extends Throwable with DataException with Product with Serializable
This class defines a AlreadyExistsException entity
This class defines a AlreadyExistsException entity
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- status
HTTP Error Status
- json
a Json entity
- Annotations
- @jsonMemberNames(SnakeCase)
- sealed trait DataException extends Throwable with FrameworkException
************************************** Data Exceptions
************************************** Data Exceptions
- Annotations
- @jsonDiscriminator("type")
- final case class DocumentAlreadyExistsEngineException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.exists", status: Int = ErrorCode.Conflict, stacktrace: Option[String] = None, json: Json = Json.Null) extends Throwable with DataException with Product with Serializable
This class defines a DocumentAlreadyExistsEngineException entity
This class defines a DocumentAlreadyExistsEngineException entity
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- status
HTTP Error Status
- json
a Json entity
- Annotations
- @jsonMemberNames(SnakeCase)
- final case class DocumentAlreadyExistsException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.exists", status: Int = ErrorCode.Conflict, stacktrace: Option[String] = None, json: Json = Json.Null) extends Throwable with DataException with Product with Serializable
This class defines a DocumentAlreadyExistsException entity
This class defines a DocumentAlreadyExistsException entity
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- status
HTTP Error Status
- json
a Json entity
- final case class InvalidJsonException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.exists", status: Int = ErrorCode.Conflict, stacktrace: Option[String] = None, json: Json = Json.Null) extends Throwable with DataException with Product with Serializable
This class defines a InvalidJsonException entity
This class defines a InvalidJsonException entity
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- status
HTTP Error Status
- json
a Json entity
- Annotations
- @jsonMemberNames(SnakeCase)
- final case class InvalidValueException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.invalidparameter", status: Int = ErrorCode.BadRequest, stacktrace: Option[String] = None, json: Json = Json.Null) extends Throwable with DataException with Product with Serializable
This class defines a InvalidValueException entity
This class defines a InvalidValueException entity
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- status
HTTP Error Status
- json
a Json entity
- Annotations
- @jsonMemberNames(SnakeCase)
- final case class MergeSchemaException(error: String, schemaFields: List[SchemaField], message: String = "Unable to merge schemas", errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "schema.merging", stacktrace: Option[String] = None, status: Int = ErrorCode.NotFound) extends Throwable with SchemaException with Product with Serializable
This class defines a MergeSchemaException entity
This class defines a MergeSchemaException entity
- error
a string representing the error
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- stacktrace
the stacktrace of the exception
- status
HTTP Error Status
- Annotations
- @jsonMemberNames(SnakeCase)
- final case class MissingFieldException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.missing", status: Int = ErrorCode.NotFound, stacktrace: Option[String] = None, json: Json = Json.Null) extends Throwable with DataException with Product with Serializable
This class defines a MissingFieldException entity
This class defines a MissingFieldException entity
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- status
HTTP Error Status
- json
a Json entity
- Annotations
- @jsonMemberNames(SnakeCase)
- final case class MissingRecordException(error: String, message: String = "Missing Record", errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "record.missing", stacktrace: Option[String] = None, status: Int = ErrorCode.NotFound) extends Throwable with DataException with Product with Serializable
This class defines a MissingRecordException entity
This class defines a MissingRecordException entity
- error
a string representing the error
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- stacktrace
the stacktrace of the exception
- status
HTTP Error Status
- Annotations
- @jsonMemberNames(SnakeCase)
- final case class MissingValueException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.missing", status: Int = ErrorCode.NotFound, stacktrace: Option[String] = None, json: Json = Json.Null) extends Throwable with DataException with Product with Serializable
This class defines a MissingValueException entity
This class defines a MissingValueException entity
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- status
HTTP Error Status
- json
a Json entity
- Annotations
- @jsonMemberNames(SnakeCase)
- final case class NoServerAvailableException(message: String, errorType: ErrorType = ErrorType.ServerError, errorCode: String = "framework.noserver", status: Int = ErrorCode.InternalServerError, stacktrace: Option[String] = None, json: Json = Json.Null) extends Throwable with DataException with Product with Serializable
This class defines a NoServerAvailableException entity
This class defines a NoServerAvailableException entity
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- status
HTTP Error Status
- stacktrace
the stacktrace of the exception
- json
a Json entity
- Annotations
- @jsonMemberNames(SnakeCase)
- final case class NoTypeParserException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.missing", stacktrace: Option[String] = None, status: Int = ErrorCode.NotFound) extends Throwable with DataException with Product with Serializable
Exceptions used in parsing values
Exceptions used in parsing values
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- stacktrace
the stacktrace of the exception
- status
HTTP Error Status
- Annotations
- @jsonMemberNames(SnakeCase)
- final case class NotFoundException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.missing", status: Int = ErrorCode.NotFound, stacktrace: Option[String] = None, json: Json = Json.Null) extends Throwable with DataException with Product with Serializable
This class defines a NotFoundException entity
This class defines a NotFoundException entity
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- status
HTTP Error Status
- json
a Json entity
- Annotations
- @jsonMemberNames(SnakeCase)
- final case class NotUniqueValueException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.notunique", status: Int = ErrorCode.BadRequest, stacktrace: Option[String] = None, json: Json = Json.Null) extends Product with Serializable
This class defines a NotUniqueValueException entity
This class defines a NotUniqueValueException entity
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- status
HTTP Error Status
- json
a Json entity
- Annotations
- @jsonMemberNames(SnakeCase)
- final case class RecordProcessingException(error: String, message: String = "Processing Record Exception", errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "record.processing", stacktrace: Option[String] = None, status: Int = ErrorCode.InternalServerError) extends Throwable with DataException with Product with Serializable
This class defines a RecordProcessingException entity
This class defines a RecordProcessingException entity
- error
a string representing the error
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- stacktrace
the stacktrace of the exception
- status
HTTP Error Status
- Annotations
- @jsonMemberNames(SnakeCase)
- sealed trait SchemaException extends Throwable with FrameworkException
Schema Exceptions
Schema Exceptions
- Annotations
- @jsonDiscriminator("type")
- final case class SchemaValidationException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "schema.validation", stacktrace: Option[String] = None, status: Int = ErrorCode.NotFound) extends Throwable with SchemaException with Product with Serializable
Exceptions used in schema validation
Exceptions used in schema validation
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- stacktrace
the stacktrace of the exception
- status
HTTP Error Status
- Annotations
- @jsonMemberNames(SnakeCase)
- final case class VersionConflictEngineException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.exists", status: Int = ErrorCode.Conflict, stacktrace: Option[String] = None, json: Json = Json.Null) extends Throwable with DataException with Product with Serializable
This class defines a VersionConflictEngineException entity
This class defines a VersionConflictEngineException entity
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- status
HTTP Error Status
- json
a Json entity
- Annotations
- @jsonMemberNames(SnakeCase)
Value Members
- object AlreadyExistsException extends Serializable
- object DataException extends ExceptionFamily with Serializable
- object DocumentAlreadyExistsEngineException extends Serializable
- object DocumentAlreadyExistsException extends Serializable
- Annotations
- @jsonMemberNames(SnakeCase)
- object InvalidJsonException extends Serializable
- object InvalidValueException extends Serializable
- object MergeSchemaException extends Serializable
- object MissingFieldException extends Serializable
- object MissingRecordException extends Serializable
- object MissingValueException extends Serializable
- object NoServerAvailableException extends Serializable
- object NoTypeParserException extends Serializable
- object NotFoundException extends Serializable
- object NotUniqueValueException extends Serializable
- object RecordProcessingException extends Serializable
- object SchemaException extends ExceptionFamily with Serializable
- object SchemaValidationException extends Serializable
- object VersionConflictEngineException extends Serializable