nu.dll.pong
Class EventExceptionHandler
java.lang.Object
|
+--nu.dll.pong.EventExceptionHandler
- public class EventExceptionHandler
- extends java.lang.Object
Handles exceptions throws by the AWT Event Dispatch Thread.
Currently only used when Pong is run as an application.
I don't know how to do it in an applet environment, it's a
weird hack anyway. As quoted from the JDK 1.3 source:
Note: This method is a temporary hack to work around the
absence of a real API that provides the ability to replace the
event-dispatch thread. The magic "sun.awt.exception.handler" property
will be removed in a future release.
|
Method Summary |
void |
handle(java.lang.Throwable t)
Handles an exception by displaying a Swing dialog presenting the exception description
and its back trace. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventExceptionHandler
public EventExceptionHandler()
handle
public void handle(java.lang.Throwable t)
- Handles an exception by displaying a Swing dialog presenting the exception description
and its back trace.