org.apache.mina.util
Class DefaultExceptionMonitor

java.lang.Object
  extended by org.apache.mina.util.ExceptionMonitor
      extended by org.apache.mina.util.DefaultExceptionMonitor

public class DefaultExceptionMonitor
extends ExceptionMonitor

A default ExceptionMonitor implementation that logs uncaught exceptions using Logger.

All IoServices have this implementation as a default exception monitor.

Version:
$Rev: 678335 $, $Date: 2008-07-21 03:25:08 +0200 (lun, 21 jui 2008) $
Author:
The Apache MINA Project (dev@mina.apache.org)

Constructor Summary
DefaultExceptionMonitor()
           
 
Method Summary
 void exceptionCaught(Throwable cause)
          Invoked when there are any uncaught exceptions.
 
Methods inherited from class org.apache.mina.util.ExceptionMonitor
getInstance, setInstance
 
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(Throwable cause)
Description copied from class: ExceptionMonitor
Invoked when there are any uncaught exceptions.

Specified by:
exceptionCaught in class ExceptionMonitor


Copyright © 2004-2008 Apache MINA Project. All Rights Reserved.