|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.af.commons.errorhandling.DefaultExceptionHandler
public class DefaultExceptionHandler
This class handles all throwables / exceptions in a consistent manner. The handler has to be installed on every thread running in the program.
At the moment all exceptions, their traces and causes are plotted in the main log file. If GUI is present the user is informed about the error by a pop-up window.
| Constructor Summary | |
|---|---|
DefaultExceptionHandler()
Constructor |
|
| Method Summary | |
|---|---|
void |
handle(Throwable e)
Called by EventDispatchingThread if "sun.awt.exception.handler" is set to this class name and an exception occurs. |
void |
uncaughtException(Thread t,
Throwable e)
Inherited method. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultExceptionHandler()
| Method Detail |
|---|
public void uncaughtException(Thread t,
Throwable e)
uncaughtException in interface Thread.UncaughtExceptionHandlert - Thread were the exception occurrede - Exceptionpublic void handle(Throwable e)
e - Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||