case class ExceptionWithContext(throwable: Throwable, severity: Severity, uuid: UUID = UUID.randomUUID, timestamp: ZonedDateTime = ZonedDateTime.now, httpContext: Option[HttpContext] = None) extends ExceptionOccurrence with Product with Serializable
Wraps an exception with useful metadata.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ExceptionWithContext
- Serializable
- Serializable
- Product
- Equals
- ExceptionOccurrence
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ExceptionWithContext(throwable: Throwable, severity: Severity, uuid: UUID = UUID.randomUUID, timestamp: ZonedDateTime = ZonedDateTime.now, httpContext: Option[HttpContext] = None)
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
-
val
aggregationKey: String
Key used to group exceptions (and then limit the number of kept exceptions FIFO-style).
Key used to group exceptions (and then limit the number of kept exceptions FIFO-style).
Derived from exception class and backtrace to be as specific as possible, without potentially including information that is different for each exception (e.g. request ids).
We only use the first 5 lines of the backtrace to avoid having different hashes for the same exception group that happen when using non-deterministic/recursive calls (i.e. Netty event loop).
- Definition Classes
- ExceptionWithContext → ExceptionOccurrence
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val className: String
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
exceptionThrowable: Some[Throwable]
- Definition Classes
- ExceptionWithContext → ExceptionOccurrence
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
val
httpContext: Option[HttpContext]
- Definition Classes
- ExceptionWithContext → ExceptionOccurrence
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
message: String
- Definition Classes
- ExceptionWithContext → ExceptionOccurrence
-
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()
-
val
severity: Severity
- Definition Classes
- ExceptionWithContext → ExceptionOccurrence
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val throwable: Throwable
-
val
timestamp: ZonedDateTime
- Definition Classes
- ExceptionWithContext → ExceptionOccurrence
-
val
uuid: UUID
- Definition Classes
- ExceptionWithContext → ExceptionOccurrence
-
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
- Deprecated
(Since version ) see corresponding Javadoc for more information.