diva.gui
Class ApplicationExceptionHandler

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

public class ApplicationExceptionHandler
extends 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:
$Revision: 1.3 $
Author:
Steve Neuendorffer (neuendor@eecs.berkeley.edu)

Constructor Summary
ApplicationExceptionHandler()
           
 
Method Summary
static Application getApplication()
           
 void handle(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
 

Constructor Detail

ApplicationExceptionHandler

public ApplicationExceptionHandler()
Method Detail

handle

public void handle(Throwable t)

setApplication

public static void setApplication(Application application)

getApplication

public static Application getApplication()


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.