Package org.apache.mina.common.support
Class DefaultExceptionMonitor
java.lang.Object
org.apache.mina.common.ExceptionMonitor
org.apache.mina.common.support.DefaultExceptionMonitor
A default
ExceptionMonitor
implementation that logs uncaught
exceptions using Logger
.
All IoService
s have this implementation as a default exception
monitor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
exceptionCaught
(Throwable cause) Invoked when there are any uncaught exceptions.Methods inherited from class org.apache.mina.common.ExceptionMonitor
getInstance, setInstance
-
Constructor Details
-
DefaultExceptionMonitor
public DefaultExceptionMonitor()
-
-
Method Details
-
exceptionCaught
Description copied from class:ExceptionMonitor
Invoked when there are any uncaught exceptions.- Specified by:
exceptionCaught
in classExceptionMonitor
-