public class DefaultExceptionMonitor extends ExceptionMonitor
ExceptionMonitor
implementation that logs uncaught
exceptions using Logger
.
All IoService
s have this implementation as a default exception
monitor.
Constructor | Description |
---|---|
DefaultExceptionMonitor() |
Modifier and Type | Method | Description |
---|---|---|
void |
exceptionCaught(Throwable cause) |
Invoked when there are any uncaught exceptions.
|
getInstance, setInstance
public void exceptionCaught(Throwable cause)
exceptionCaught
in class ExceptionMonitor
cause
- The caught exceptionCopyright © 2004–2018 Apache MINA Project. All rights reserved.