Package io.aeron.exceptions
Class AeronEvent
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.aeron.exceptions.AeronException
io.aeron.exceptions.AeronEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ArchiveEvent,ClusterEvent
A means to capture an event of significance that does not require a stack trace, so it can be lighter-weight
and take up less space in a
DistinctErrorLog.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.aeron.exceptions.AeronException
AeronException.Category -
Constructor Summary
ConstructorsConstructorDescriptionAeronEvent(String message) Aeron event with provided message andAeronException.Category.WARN.AeronEvent(String message, AeronException.Category category) Aeron event with provided message andAeronException.Category. -
Method Summary
Modifier and TypeMethodDescriptionOverride the base implementation so no stack trace is associated.Overridden to avoid creating a clone of an empty stack.Methods inherited from class io.aeron.exceptions.AeronException
category, isFatalMethods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AeronEvent
Aeron event with provided message andAeronException.Category.WARN.- Parameters:
message- to detail the event.
-
AeronEvent
Aeron event with provided message andAeronException.Category.- Parameters:
message- to detail the event.category- of the event.
-
-
Method Details
-
fillInStackTrace
Override the base implementation so no stack trace is associated.Note: This method is not synchronized as it does not call the super class.
- Overrides:
fillInStackTracein classThrowable- Returns:
- a reference to this
AeronEventinstance.
-
getStackTrace
Overridden to avoid creating a clone of an empty stack.- Overrides:
getStackTracein classThrowable- Returns:
- empty stack trace.
-