com.virtuosotechnologies.lib.error
Class AWTErrorManager

java.lang.Object
  extended bycom.virtuosotechnologies.lib.error.AWTErrorManager

public final class AWTErrorManager
extends Object

Tool that handles error reporting on the AWT thread


Nested Class Summary
static class AWTErrorManager.Impl
          Error reporter implementation.
 
Field Summary
static AWTErrorListener SWINGWINDOW_AWTERRORLISTENER
           
 
Method Summary
static void addAWTErrorListener(AWTErrorListener listener)
          Add an error listener.
static void initialize()
          Initialize error reporting.
static void removeAWTErrorListener(AWTErrorListener listener)
          Remove an error listener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SWINGWINDOW_AWTERRORLISTENER

public static final AWTErrorListener SWINGWINDOW_AWTERRORLISTENER
Method Detail

initialize

public static void initialize()
Initialize error reporting. This must be called at the beginning of a program before the AWT thread starts up.


addAWTErrorListener

public static void addAWTErrorListener(AWTErrorListener listener)
Add an error listener.

Parameters:
listener - listener to add

removeAWTErrorListener

public static void removeAWTErrorListener(AWTErrorListener listener)
Remove an error listener.

Parameters:
listener - listener to remove