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
- 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
- Alphabetic
- By Inheritance
- UnhandledFrameworkException
- Serializable
- Product
- Equals
- FrameworkException
- Throwable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
UnhandledFrameworkException(error: String, message: String, errorType: ErrorType = ErrorType.UnknownError, errorCode: String = "framework.generic", stacktrace: Option[String] = scala.None, status: Int = ErrorCode.InternalServerError)
- 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
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
addSuppressed(arg0: Throwable): Unit
- Definition Classes
- Throwable
-
def
addType(obj: JsonObject, canonicalType: String): JsonObject
- Attributes
- protected
- Definition Classes
- FrameworkException
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val error: String
-
val
errorCode: String
- Definition Classes
- UnhandledFrameworkException → FrameworkException
-
val
errorType: ErrorType
- Definition Classes
- UnhandledFrameworkException → FrameworkException
-
def
fillInStackTrace(): Throwable
- Definition Classes
- Throwable
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getCause(): Throwable
- Definition Classes
- Throwable
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getLocalizedMessage(): String
- Definition Classes
- Throwable
-
def
getMessage(): String
- Definition Classes
- Throwable
-
def
getStackTrace(): Array[StackTraceElement]
- Definition Classes
- Throwable
-
final
def
getSuppressed(): Array[Throwable]
- Definition Classes
- Throwable
-
def
initCause(arg0: Throwable): Throwable
- Definition Classes
- Throwable
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
logMap: Map[String, AnyRef]
logMap: any key value pair that need to be logged as part of the HttpErrorLog but is not required to be part of the error response in the ErrorEnvelope
logMap: any key value pair that need to be logged as part of the HttpErrorLog but is not required to be part of the error response in the ErrorEnvelope
- Definition Classes
- FrameworkException
-
val
message: String
- Definition Classes
- UnhandledFrameworkException → FrameworkException
-
def
messageParameters: Seq[AnyRef]
messageParameters: values to be substituted in the messages file
messageParameters: values to be substituted in the messages file
- Definition Classes
- FrameworkException
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
printStackTrace(arg0: PrintWriter): Unit
- Definition Classes
- Throwable
-
def
printStackTrace(arg0: PrintStream): Unit
- Definition Classes
- Throwable
-
def
printStackTrace(): Unit
- Definition Classes
- Throwable
-
def
setStackTrace(arg0: Array[StackTraceElement]): Unit
- Definition Classes
- Throwable
- val stacktrace: Option[String]
-
val
status: Int
- Definition Classes
- UnhandledFrameworkException → FrameworkException
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
thread: Option[String]
- Definition Classes
- FrameworkException
-
def
toErrorJson: Json
- Definition Classes
- FrameworkException
-
def
toGeneric: GenericFrameworkException
- Definition Classes
- FrameworkException
-
def
toJson: Json
- Definition Classes
- FrameworkException
-
def
toJsonObject: JsonObject
- Definition Classes
- UnhandledFrameworkException → FrameworkException
-
def
toString(): String
- Definition Classes
- Throwable → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()