org.apache.mina.common
Class DefaultExceptionMonitor
java.lang.Object
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 SessionManager
s have this implementation as a default exception
monitor.
- Version:
- $Rev: 165578 $, $Date: 2005-05-02 13:31:30 +0900 (?, 02 5? 2005) $
- Author:
- Trustin Lee (trustin@apache.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultExceptionMonitor
public DefaultExceptionMonitor()
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.