org.apache.mina.common
Class ExceptionMonitor
java.lang.Object
org.apache.mina.common.ExceptionMonitor
public abstract class ExceptionMonitor
extends java.lang.Object
exceptionCaught
public abstract void exceptionCaught(Throwable cause)
Invoked when there are any uncaught exceptions.
getInstance
public static ExceptionMonitor getInstance()
Returns the current exception monitor.
setInstance
public static void setInstance(ExceptionMonitor monitor)
Sets the uncaught exception monitor. If null
is specified,
the default monitor will be set.