com.google.gwt.ajaxloader.client
Class ExceptionHelper

java.lang.Object
  extended by com.google.gwt.ajaxloader.client.ExceptionHelper

public abstract class ExceptionHelper
extends java.lang.Object

Helps with the GWT uncaught exception handler.


Method Summary
static void runProtected(java.lang.Runnable runnable)
          If an uncaught exception handler has been registered, execute the Runnable in a try/catch block and handle exceptions with the uncaught exception handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

runProtected

public static void runProtected(java.lang.Runnable runnable)
If an uncaught exception handler has been registered, execute the Runnable in a try/catch block and handle exceptions with the uncaught exception handler. Otherwise, run the Runnable and do not catch exceptions.

Parameters:
runnable - The Runnable to execute.