Package org.apache.mina.util
Class DefaultExceptionMonitor
- java.lang.Object
-
- org.apache.mina.util.ExceptionMonitor
-
- org.apache.mina.util.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.- Author:
- Apache MINA Project
-
-
Constructor Summary
Constructors Constructor Description DefaultExceptionMonitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exceptionCaught(Throwable cause)
Invoked when there are any uncaught exceptions.-
Methods inherited from class org.apache.mina.util.ExceptionMonitor
getInstance, setInstance
-
-
-
-
Method Detail
-
exceptionCaught
public void exceptionCaught(Throwable cause)
Invoked when there are any uncaught exceptions.- Specified by:
exceptionCaught
in classExceptionMonitor
- Parameters:
cause
- The caught exception
-
-