Package org.glassfish.jersey.process
Class JerseyProcessingUncaughtExceptionHandler
java.lang.Object
org.glassfish.jersey.process.JerseyProcessingUncaughtExceptionHandler
- All Implemented Interfaces:
Thread.UncaughtExceptionHandler
public class JerseyProcessingUncaughtExceptionHandler
extends Object
implements Thread.UncaughtExceptionHandler
Uncaught exception handler that can be used by various Jersey request processing thread pools uncaught exceptions.
- Since:
- 2.17
- Author:
- Marek Potociar
-
Constructor Summary
ConstructorDescriptionCreate new Jersey processing uncaught exception handler.Create new Jersey processing uncaught exception handler. -
Method Summary
-
Constructor Details
-
JerseyProcessingUncaughtExceptionHandler
public JerseyProcessingUncaughtExceptionHandler()Create new Jersey processing uncaught exception handler.All uncaught exceptions will be logged using the
WARNING
logging level. -
JerseyProcessingUncaughtExceptionHandler
Create new Jersey processing uncaught exception handler.All uncaught exceptions will be logged using the supplied logging level.
- Parameters:
logLevel
- custom logging level that should be used to log uncaught exceptions.
-
-
Method Details
-
uncaughtException
- Specified by:
uncaughtException
in interfaceThread.UncaughtExceptionHandler
-