org.apache.mina.common
Class DefaultExceptionMonitor

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

public class DefaultExceptionMonitor
extends 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: 332218 $, $Date: 2005-11-10 12:52:42 +0900 $
Author:
The Apache Directory Project (dev@directory.apache.org)

Constructor Summary
DefaultExceptionMonitor()
           
 
Method Summary
 void exceptionCaught(Object source, 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(Object source,
                            Throwable cause)
Description copied from interface: ExceptionMonitor
Invoked when there are any uncaught exceptions.

Specified by:
exceptionCaught in interface ExceptionMonitor


Copyright © 2004-2005 . All Rights Reserved.