org.springframework.richclient.exceptionhandling
Class SilentExceptionHandler

java.lang.Object
  extended by org.springframework.richclient.exceptionhandling.AbstractRegisterableExceptionHandler
      extended by org.springframework.richclient.exceptionhandling.AbstractLoggingExceptionHandler
          extended by org.springframework.richclient.exceptionhandling.SilentExceptionHandler
All Implemented Interfaces:
Thread.UncaughtExceptionHandler, RegisterableExceptionHandler

public class SilentExceptionHandler
extends AbstractLoggingExceptionHandler

Logs a throwable but does not notify the user in any way. Normally it is a bad practice not to notify the user if something goes wrong.

Since:
0.3
Author:
Geoffrey De Smet

Field Summary
 
Fields inherited from class org.springframework.richclient.exceptionhandling.AbstractLoggingExceptionHandler
exceptionPurger, LOG_MESSAGE, logger, logLevel
 
Constructor Summary
SilentExceptionHandler()
           
 
Method Summary
 void notifyUserAboutException(Thread thread, Throwable throwable)
          Does nothing.
 
Methods inherited from class org.springframework.richclient.exceptionhandling.AbstractLoggingExceptionHandler
logException, setExceptionPurger, setLogLevel, uncaughtException
 
Methods inherited from class org.springframework.richclient.exceptionhandling.AbstractRegisterableExceptionHandler
registerExceptionHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SilentExceptionHandler

public SilentExceptionHandler()
Method Detail

notifyUserAboutException

public void notifyUserAboutException(Thread thread,
                                     Throwable throwable)
Does nothing.

Specified by:
notifyUserAboutException in class AbstractLoggingExceptionHandler


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.