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