org.apache.mina.common
Class DefaultExceptionMonitor

java.lang.Object
  extended byorg.apache.mina.common.DefaultExceptionMonitor
All Implemented Interfaces:
ExceptionMonitor

public class DefaultExceptionMonitor
extends java.lang.Object
implements ExceptionMonitor

A default ExceptionMonitor implementation that logs uncaught exceptions using Logger.

All SessionManagers have this implementation as a default exception monitor.

Version:
$Rev: 326586 $, $Date: 2005-10-19 17:50:29 +0200 (Wed, 19 Oct 2005) $
Author:
The Apache Directory Project (dev@directory.apache.org)

Constructor Summary
DefaultExceptionMonitor()
           
 
Method Summary
 void exceptionCaught(java.lang.Object source, java.lang.Throwable cause)
          Invoked when there are any uncaught exceptions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExceptionMonitor

public DefaultExceptionMonitor()
Method Detail

exceptionCaught

public void exceptionCaught(java.lang.Object source,
                            java.lang.Throwable cause)
Description copied from interface: ExceptionMonitor
Invoked when there are any uncaught exceptions.

Specified by:
exceptionCaught in interface ExceptionMonitor