| Package | Description |
|---|---|
| net.openhft.chronicle.core | |
| net.openhft.chronicle.core.onoes |
Provides classes and interfaces for exception handling, logging, and associated utilities.
|
| Modifier and Type | Method and Description |
|---|---|
static @NotNull ExceptionHandler |
Jvm.debug()
Returns an ExceptionHandler for debug messages, this prints as System.out or DEBUG level logging.
|
static @NotNull ExceptionHandler |
Jvm.error()
Returns an ExceptionHandler for errors, this prints as System.err or ERROR level logging.
|
static @NotNull ExceptionHandler |
Jvm.perf()
Returns an ExceptionHandler for performance messages, this prints as System.out or INFO level logging.
|
static @NotNull ExceptionHandler |
Jvm.startup()
Returns an ExceptionHandler for startup messages, this prints as System.out or INFO level logging.
|
static @NotNull ExceptionHandler |
Jvm.warn()
Returns an ExceptionHandler for warnings, this prints as System.out or WARN level logging.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ChainedExceptionHandler
An implementation of
ExceptionHandler that chains multiple ExceptionHandler objects
to be invoked in sequence. |
class |
NullExceptionHandler
NullExceptionHandler is an enumeration implementing the ExceptionHandler and IgnoresEverything interfaces.
|
class |
RecordingExceptionHandler
RecordingExceptionHandler is a concrete implementation of the ExceptionHandler interface.
|
class |
Slf4jExceptionHandler
Slf4jExceptionHandler is an enum implementation of the ExceptionHandler interface.
|
class |
ThreadLocalisedExceptionHandler
This class provides a thread-localized ExceptionHandler.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull ExceptionHandler[] |
ChainedExceptionHandler.chain() |
ExceptionHandler |
ThreadLocalisedExceptionHandler.defaultHandler() |
default ExceptionHandler |
ExceptionHandler.defaultHandler()
Retrieves the default underlying exception handler.
|
static ExceptionHandler |
ExceptionHandler.ignoresEverything()
Creates an
ExceptionHandler that ignores all exceptions. |
ExceptionHandler |
ThreadLocalisedExceptionHandler.threadLocalHandler() |
static ExceptionHandler |
ThreadLocalisedExceptionHandler.unwrap(ExceptionHandler eh) |
| Modifier and Type | Method and Description |
|---|---|
ThreadLocalisedExceptionHandler |
ThreadLocalisedExceptionHandler.defaultHandler(ExceptionHandler defaultHandler) |
ThreadLocalisedExceptionHandler |
ThreadLocalisedExceptionHandler.threadLocalHandler(ExceptionHandler handler) |
static ExceptionHandler |
ThreadLocalisedExceptionHandler.unwrap(ExceptionHandler eh) |
| Constructor and Description |
|---|
ChainedExceptionHandler(ExceptionHandler... chain) |
ThreadLocalisedExceptionHandler(ExceptionHandler handler) |
Copyright © 2024. All rights reserved.