case class ExceptionChain(state: Map[String, String], content: List[ExceptionContent], environment: Option[String]) extends Product with Serializable
Defines a chain of exceptions that may span multiple services. This is used to get the full picture of how an error has been propagated from its source
- state
Information on the ambient state of the service, such as build information and environment variables.
- content
The chain of exceptions that have occurred. The first element in the list is the last one thrown.
- Alphabetic
- By Inheritance
- ExceptionChain
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ExceptionChain(state: Map[String, String], content: List[ExceptionContent], environment: Option[String])
- state
Information on the ambient state of the service, such as build information and environment variables.
- content
The chain of exceptions that have occurred. The first element in the list is the last one thrown.
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
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
asString: String
Gets a string representation to use e.g.
Gets a string representation to use e.g. for logging.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
containsType(exceptionType: String): Boolean
Whether a specific ExceptionTypes is in the chain.
- val content: List[ExceptionContent]
- val environment: Option[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
rootMessage: String
Gets the message of the original error
- val state: Map[String, String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
userFriendlyMessage: Option[String]
Gets the message of the first thrown DatasolvrUserException if available.
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated