com.lc.util
Interface IThrowableHandler
- All Known Implementing Classes:
- DispatchThreadThrowableManager
- public interface IThrowableHandler
Defines a catch-all Error / Exception handler.
- Version:
- $Revision: 1.1.1.1 $ $Date: 2002/02/19 22:12:03 $
- Author:
- Laurent Caillette
Method Summary |
boolean |
handleThrowable(java.lang.Throwable throwable)
Method called when a Throwable should be handled. |
handleThrowable
public boolean handleThrowable(java.lang.Throwable throwable)
- Method called when a Throwable should be handled.
Since this method could be potentially called from any thread, it
is strongly recommanded to make its implementation synchronized.
- Parameters:
throwable
- The Throwable to handle.- Returns:
true
if it was handled, false
if default behavior should be used instead.