public class DefaultExceptionMonitor extends ExceptionMonitor
ExceptionMonitor
implementation that logs uncaught
exceptions using Logger
.
All IoService
s have this implementation as a default exception
monitor.
构造器和说明 |
---|
DefaultExceptionMonitor() |
限定符和类型 | 方法和说明 |
---|---|
void |
exceptionCaught(java.lang.Throwable cause)
Invoked when there are any uncaught exceptions.
|
getInstance, setInstance
public void exceptionCaught(java.lang.Throwable cause)
exceptionCaught
在类中 ExceptionMonitor
cause
- The caught exception