ccc.client.gwt.core
Class GWTExceptionHandler

java.lang.Object
  extended by ccc.client.gwt.core.GWTExceptionHandler
All Implemented Interfaces:
ExceptionHandler

public class GWTExceptionHandler
extends java.lang.Object
implements ExceptionHandler

GWT implementation of the ExceptionHandler API.

Author:
Civic Computing Ltd.

Constructor Summary
GWTExceptionHandler(Window window)
          Constructor.
 
Method Summary
 void unexpectedError(java.lang.Throwable e, java.lang.String action)
          Report an unexpected exception to the user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GWTExceptionHandler

public GWTExceptionHandler(Window window)
Constructor.

Parameters:
window - The main application window.
Method Detail

unexpectedError

public void unexpectedError(java.lang.Throwable e,
                            java.lang.String action)
Report an unexpected exception to the user.

Specified by:
unexpectedError in interface ExceptionHandler
Parameters:
e - The exception to report.
action - The action being performed.


Copyright © 2010. All Rights Reserved.