com.google.gwt.ajaxloader.client
Class ExceptionHelper
java.lang.Object
com.google.gwt.ajaxloader.client.ExceptionHelper
public abstract class ExceptionHelper
- extends Object
Helps with the GWT uncaught exception handler.
|
Method Summary |
static void |
runProtected(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 |
runProtected
public static void runProtected(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.
Copyright © 2014. All rights reserved.