package exception
- Alphabetic
- Public
- All
Type Members
-
final
case class
AlreadyExistsException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.exists", status: Int = ErrorCode.Conflict, json: Json = io.circe.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
-
sealed
trait
AuthException extends Throwable with FrameworkException
************************************** AUTH Exceptions **************************************
-
sealed
trait
ConfigException extends Throwable with FrameworkException
************************************** AUTH Exceptions **************************************
-
final
case class
ConfigurationException(error: String, message: String, errorType: ErrorType = ErrorType.ConfigurationError, errorCode: String = "framework.configuration", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError) extends Throwable with ConfigException with Product with Serializable
This class defines a ConfigurationException entity
This class defines a ConfigurationException 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
-
sealed
trait
DataException extends Throwable with FrameworkException
************************************** Data Exceptions **************************************
- final case class DataStorageUndefinedException(message: String, stacktrace: Option[String] = scala.None, errorType: ErrorType = ErrorType.ServerError, errorCode: String = "datastore.missing", status: Int = ErrorCode.InternalServerError) extends Throwable with DataStoreException with Product with Serializable
-
sealed
trait
DataStoreException extends Throwable with FrameworkException
************************************** DataStore Exceptions **************************************
-
final
case class
DecodingFailureException(error: String, message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.decoding", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError) extends Throwable with JsonException with Product with Serializable
This class defines a FrameworkDecodingFailure entity
This class defines a FrameworkDecodingFailure 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
-
final
case class
DocumentAlreadyExistsEngineException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.exists", status: Int = ErrorCode.Conflict, json: Json = io.circe.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
-
final
case class
DocumentAlreadyExistsException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.exists", status: Int = ErrorCode.Conflict, json: Json = io.circe.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
- case class ErrorEnvelope(errorType: ErrorType, correlationId: String, errorCode: String, errorMessage: String, details: Map[String, List[ValidationEnvelope]] = ...) extends Product with Serializable
- case class ErrorLog(errorType: ErrorType, errorCode: String, errorMessage: String, thread: Option[String], payload: Map[String, String] = ..., details: Map[String, List[ValidationEnvelope]] = ...) extends Product with Serializable
- sealed trait ErrorType extends EnumEntry
- trait ExceptionFamily extends AnyRef
- trait FrameworkException extends Throwable
-
final
case class
FrameworkMultipleExceptions(message: String, errorType: ErrorType = ErrorType.ServerError, errorCode: String = "framework.exceptions", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError, exceptions: Seq[GenericFrameworkException] = scala.collection.immutable.Nil) extends Throwable with FrameworkException with Product with Serializable
This class defines a FrameworkMultipleExceptions entity
This class defines a FrameworkMultipleExceptions entity
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- stacktrace
the stacktrace of the exception
- status
HTTP Error Status
- exceptions
a list of FrameworkException entities
-
final
case class
GenericFrameworkException(error: String, message: String, errorType: ErrorType = ErrorType.UnknownError, errorCode: String = "framework.generic", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError) extends Throwable with FrameworkException with Product with Serializable
This class defines a GenericFrameworkException entity
This class defines a GenericFrameworkException 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
- case class HttpErrorLog(method: String, uri: String, errorType: ErrorType, errorCode: String, errorMessage: String, thread: Option[String], payload: Map[String, String] = ..., validationPayload: Map[String, List[ValidationEnvelope]] = ...) extends Product with Serializable
- final case class InvalidCredentialsException(error: String, message: String = "credential", errorType: ErrorType = ErrorType.UnknownError, errorCode: String = "auth.generic", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError) extends Throwable with AuthException with Product with Serializable
- final case class InvalidJsonValue(msg: String) extends Exception with Product with Serializable
-
case class
InvalidPermissionStringException(permissionString: String, message: String = "auth.error", errorType: ErrorType = ErrorType.AuthError, errorCode: String = "auth.error", status: Int = ErrorCode.NotFound) extends Throwable with AuthException with Product with Serializable
This exception is throw if the permission string is malformed
This exception is throw if the permission string is malformed
- permissionString
the permission that is not valid
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- status
HTTP Error Status
- final case class InvalidStorageTypeException(error: String, message: String, stacktrace: Option[String] = scala.None, errorType: ErrorType = ErrorType.ServerError, errorCode: String = "datastore.missing", status: Int = ErrorCode.InternalServerError) extends Throwable with DataStoreException with Product with Serializable
-
final
case class
InvalidValueException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.invalidparameter", status: Int = ErrorCode.BadRequest, json: Json = io.circe.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
-
sealed
trait
JsonException extends Throwable with FrameworkException
************************************** AUTH Exceptions **************************************
-
final
case class
MissingFieldException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.missing", status: Int = ErrorCode.NotFound, json: Json = io.circe.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
-
final
case class
MissingRecordException(error: String, message: String = "Missing Record", errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "record.missing", stacktrace: Option[String] = scala.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
-
final
case class
MissingScriptException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "scripting.missing", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.NotFound) extends Throwable with ScriptingException with Product with Serializable
This class defines a MissingScriptException entity
This class defines a MissingScriptException entity
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- stacktrace
the stacktrace of the exception
- status
HTTP Error Status
-
final
case class
MissingValueException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.missing", status: Int = ErrorCode.NotFound, json: Json = io.circe.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
-
final
case class
NoServerAvailableException(message: String, errorType: ErrorType = ErrorType.ServerError, errorCode: String = "framework.noserver", status: Int = ErrorCode.InternalServerError, stacktrace: Option[String] = scala.None, json: Json = io.circe.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
-
final
case class
NoTypeParserException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.missing", stacktrace: Option[String] = scala.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
-
final
case class
NotFoundException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.missing", status: Int = ErrorCode.NotFound, json: Json = io.circe.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
-
final
case class
NotUniqueValueException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.notunique", status: Int = ErrorCode.BadRequest, json: Json = io.circe.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
-
final
case class
ParsingFailureException(error: String, message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.jsonparsing", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError) extends Throwable with JsonException with Product with Serializable
This class defines a ConfigurationSourceException entity
This class defines a ConfigurationSourceException 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
-
final
case class
PropertyNotFoundException(message: String, errorType: ErrorType = ErrorType.ServerError, errorCode: String = "config.error", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError) extends Throwable with ConfigException with Product with Serializable
This class defines a PropertyNotFoundException entity
This class defines a PropertyNotFoundException entity
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- stacktrace
the stacktrace of the exception
- status
HTTP Error Status
-
final
case class
RecordProcessingException(error: String, message: String = "Processing Record Exception", errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "record.processing", stacktrace: Option[String] = scala.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
-
final
case class
ScriptingEngineNotFoundException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "scripting.missing", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.NotFound) extends Throwable with ScriptingException with Product with Serializable
This class defines a ScriptingEngineNotFound entity
This class defines a ScriptingEngineNotFound entity
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- stacktrace
the stacktrace of the exception
- status
HTTP Error Status
- sealed trait ScriptingException extends Throwable with FrameworkException
-
final
case class
SimpleThrowable(message: String, type: String, stacktrace: Option[String] = scala.None, cause: Option[String] = scala.None) extends Product with Serializable
This class defines a SimpleThrowable entity
This class defines a SimpleThrowable entity
- message
the error message
- type
the type of the SimpleThrowable entity
- stacktrace
the stacktrace of the exception
- cause
the cause of the exception
-
final
case class
UnhandledFrameworkException(error: String, message: String, errorType: ErrorType = ErrorType.UnknownError, errorCode: String = "framework.generic", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError) extends Throwable with FrameworkException with Product with Serializable
This class defines a UnhandledFrameworkException entity
This class defines a UnhandledFrameworkException 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
-
case class
UserNotFoundException(userId: String, message: String = "auth.error", errorType: ErrorType = ErrorType.AuthError, errorCode: String = "auth.error", status: Int = ErrorCode.NotFound) extends Throwable with AuthException with Product with Serializable
This class defines a UserNotFoundException entity
This class defines a UserNotFoundException entity
- userId
an User Id
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- status
HTTP Error Status
-
case class
UserPropertyNotFoundException(userId: String, property: String, message: String = "auth.error", errorType: ErrorType = ErrorType.AuthError, errorCode: String = "auth.error", status: Int = ErrorCode.NotFound) extends Throwable with AuthException with Product with Serializable
This exception is thrown when a property is missing
This exception is thrown when a property is missing
- userId
an User Id
- property
a property to look for
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- status
HTTP Error Status
- case class ValidationEnvelope(key: String, message: String) extends Product with Serializable
- final case class ValidationErrorException(field: String, message: String, status: Int = ErrorCode.InternalServerError, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "validation.error") extends Throwable with FrameworkException with Product with Serializable
-
final
case class
VersionConflictEngineException(message: String, errorType: ErrorType = ErrorType.ValidationError, errorCode: String = "framework.exists", status: Int = ErrorCode.Conflict, json: Json = io.circe.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
-
final
case class
WriteException(message: String, errorType: ErrorType = ErrorType.ServerError, errorCode: String = "datastore.write", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError) extends Throwable with DataStoreException with Product with Serializable
This class defines a WriteException entity
This class defines a WriteException entity
- message
the error message
- errorType
the errorType
- errorCode
a string grouping common application errors
- stacktrace
the stacktrace of the exception
- status
HTTP Error Status
Value Members
- object AlreadyExistsException extends Serializable
- object AuthException extends ExceptionFamily with Serializable
- object ConfigException extends ExceptionFamily with Serializable
- object ConfigurationException extends Serializable
- object DataException extends ExceptionFamily with Serializable
- object DataStorageUndefinedException extends Serializable
- object DataStoreException extends ExceptionFamily with Serializable
- object DecodingFailureException extends Serializable
- object DocumentAlreadyExistsEngineException extends Serializable
- object DocumentAlreadyExistsException extends Serializable
- object ErrorCode
- object ErrorEnvelope extends Serializable
- object ErrorLog extends Serializable
- object ErrorType extends Enum[ErrorType] with CirceEnum[ErrorType] with Product with Serializable
- object FrameworkException extends Serializable
- object FrameworkMultipleExceptions extends Serializable
- object GenericFrameworkException extends Serializable
- object HttpErrorLog extends Serializable
- object InvalidCredentialsException extends Serializable
- object InvalidPermissionStringException extends Serializable
- object InvalidStorageTypeException extends Serializable
- object InvalidValueException extends Serializable
- object JsonException extends ExceptionFamily with Serializable
- object MissingFieldException extends Serializable
- object MissingRecordException extends Serializable
- object MissingScriptException extends Serializable
- object MissingValueException extends Serializable
- object NoServerAvailableException extends Serializable
- object NoTypeParserException extends Serializable
- object NotFoundException extends Serializable
- object NotUniqueValueException extends Serializable
- object ParsingFailureException extends Serializable
- object PropertyNotFoundException extends Serializable
- object RecordProcessingException extends Serializable
- object ScriptingEngineNotFoundException extends Serializable
- object ScriptingException extends ExceptionFamily with Serializable
- object SimpleThrowable extends Serializable
- object UnhandledFrameworkException extends Serializable
- object UserNotFoundException extends Serializable
- object UserPropertyNotFoundException extends Serializable
- object ValidationEnvelope extends Serializable
- object ValidationErrorException extends Serializable
- object VersionConflictEngineException extends Serializable
- object WriteException extends Serializable