java.lang.Object
net.luis.utils.logging.LoggingExceptionHandler
- All Implemented Interfaces:
Thread.UncaughtExceptionHandler
Implementation of
Thread.UncaughtExceptionHandler
that logs uncaught exceptions.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.apache.logging.log4j.Logger
The logger for this class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
uncaughtException
(@NotNull Thread thread, @Nullable Throwable throwable)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGERThe logger for this class.
-
-
Constructor Details
-
LoggingExceptionHandler
public LoggingExceptionHandler()Constructs a new logging exception handler.
-
-
Method Details
-
uncaughtException
public void uncaughtException(@NotNull @NotNull Thread thread, @Nullable @Nullable Throwable throwable) - Specified by:
uncaughtException
in interfaceThread.UncaughtExceptionHandler
-