org.springframework.richclient.exceptionhandling.delegation
Class SimpleExceptionHandlerDelegate
java.lang.Object
org.springframework.richclient.exceptionhandling.delegation.AbstractExceptionHandlerDelegate
org.springframework.richclient.exceptionhandling.delegation.SimpleExceptionHandlerDelegate
- All Implemented Interfaces:
- Thread.UncaughtExceptionHandler, ExceptionHandlerDelegate
public class SimpleExceptionHandlerDelegate
- extends AbstractExceptionHandlerDelegate
Handles the thrownTrowable by the exception handler if it is an instance of one of the throwableClassList.
Note: Also subclasses of the classes in the throwableClassList will be handled by the exception handler.
- Since:
- 0.3.0
- Author:
- Geoffrey De Smet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleExceptionHandlerDelegate
public SimpleExceptionHandlerDelegate()
SimpleExceptionHandlerDelegate
public SimpleExceptionHandlerDelegate(Class throwableClass,
Thread.UncaughtExceptionHandler exceptionHandler)
SimpleExceptionHandlerDelegate
public SimpleExceptionHandlerDelegate(List<Class> throwableClassList,
Thread.UncaughtExceptionHandler exceptionHandler)
setThrowableClass
public void setThrowableClass(Class throwableClass)
setThrowableClassList
public void setThrowableClassList(List<Class> throwableClassList)
hasAppropriateHandlerPurged
public boolean hasAppropriateHandlerPurged(Throwable throwable)
- Specified by:
hasAppropriateHandlerPurged
in class AbstractExceptionHandlerDelegate
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.