diva.gui
Class ApplicationExceptionHandler

java.lang.Object
  extended by diva.gui.ApplicationExceptionHandler

public class ApplicationExceptionHandler
extends java.lang.Object

This class makes it easy for an application to trap exceptions in AWT event handlers. It makes use of an unpublished hook in the sun event dispatcher to trap those exceptions and call the application's showError method.

Version:
$Id: ApplicationExceptionHandler.java 57040 2010-01-27 20:52:32Z cxh $
Author:
Steve Neuendorffer

Field Summary
(package private) static Application _application
           
 
Constructor Summary
ApplicationExceptionHandler()
           
 
Method Summary
static Application getApplication()
           
 void handle(java.lang.Throwable t)
           
static void setApplication(Application application)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_application

static Application _application
Constructor Detail

ApplicationExceptionHandler

public ApplicationExceptionHandler()
Method Detail

handle

public void handle(java.lang.Throwable t)

setApplication

public static void setApplication(Application application)

getApplication

public static Application getApplication()