Class DefaultExceptionMonitor
java.lang.Object
org.apache.mina.util.ExceptionMonitor
org.apache.mina.util.DefaultExceptionMonitor
A default
ExceptionMonitor implementation that logs uncaught
exceptions using Logger.
All IoServices have this implementation as a default exception
monitor.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexceptionCaught(Throwable cause) Invoked when there are any uncaught exceptions.Methods inherited from class ExceptionMonitor
getInstance, setInstance
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
DefaultExceptionMonitor
public DefaultExceptionMonitor()
-
-
Method Details
-
exceptionCaught
Invoked when there are any uncaught exceptions.- Specified by:
exceptionCaughtin classExceptionMonitor- Parameters:
cause- The caught exception
-