GWT.setUncaughtExceptionHandler()
Posted
by moorsu
on Stack Overflow
See other posts from Stack Overflow
or by moorsu
Published on 2010-06-12T11:40:06Z
Indexed on
2010/06/12
11:42 UTC
Read the original article
Hit count: 218
gwt
Has anyone successfully use the above statement to catch the exception before it goes to the browser as an alert?.
I did set an exception handler in the first line of my entry point. But it does not catch the exception as expected.
public void onModuleLoad(){
GWT.setUncaughtExceptionHandler(new MyExceptionHandler());
...
....
}
© Stack Overflow or respective owner