public class JerseyProcessingUncaughtExceptionHandler extends Object implements Thread.UncaughtExceptionHandler
Constructor and Description |
---|
JerseyProcessingUncaughtExceptionHandler()
Create new Jersey processing uncaught exception handler.
|
JerseyProcessingUncaughtExceptionHandler(Level logLevel)
Create new Jersey processing uncaught exception handler.
|
public JerseyProcessingUncaughtExceptionHandler()
All uncaught exceptions will be logged using the WARNING
logging level.
public JerseyProcessingUncaughtExceptionHandler(Level logLevel)
All uncaught exceptions will be logged using the supplied logging level.
logLevel
- custom logging level that should be used to log uncaught exceptions.public void uncaughtException(Thread t, Throwable e)
uncaughtException
in interface Thread.UncaughtExceptionHandler
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.