See: Description
| Interface | Description |
|---|---|
| ExceptionHandler |
ExceptionHandler is a functional interface that provides a mechanism
for handling exceptions in a uniform way throughout an application. |
| Class | Description |
|---|---|
| ChainedExceptionHandler |
An implementation of
ExceptionHandler that chains multiple ExceptionHandler objects
to be invoked in sequence. |
| ExceptionKey |
Represents a unique key for an exception event.
|
| RecordingExceptionHandler |
RecordingExceptionHandler is a concrete implementation of the ExceptionHandler interface.
|
| ThreadLocalisedExceptionHandler |
This class provides a thread-localized ExceptionHandler.
|
| Enum | Description |
|---|---|
| LogLevel |
LogLevel is an enumeration that defines various levels of logging within an application.
|
| NullExceptionHandler |
NullExceptionHandler is an enumeration implementing the ExceptionHandler and IgnoresEverything interfaces.
|
| Slf4jExceptionHandler |
Slf4jExceptionHandler is an enum implementation of the ExceptionHandler interface.
|
This package contains classes and interfaces that enable handling exceptions in a uniform manner throughout an application. This includes mechanisms for chaining multiple exception handlers together, logging exceptions, handling exceptions on a per-thread basis, and recording exceptions.
The core of this package is the ExceptionHandler
interface which allows for custom logic to be defined for handling different
types of exceptions.
Other classes and enumerations within the package include:
ChainedExceptionHandler - Chains multiple ExceptionHandler objects for sequential invocation.ExceptionKey - Represents a unique key for an exception event.LogLevel - Defines various levels of logging severity.NullExceptionHandler - Implements ExceptionHandler as a null object.RecordingExceptionHandler - Records exceptions by incrementing counts in a map.Slf4jExceptionHandler - Uses SLF4J for logging exceptions based on severity levels.ThreadLocalisedExceptionHandler - Provides thread-localized exception handling.This package is part of the Chronicle-Core library by OpenHFT.
ExceptionHandlerCopyright © 2024. All rights reserved.