debugging - GWT client umbrellaexception get full error message in java -


i'm working gwt find impossible find errors current error messages in chrome console. errors both when in local development mode , when i'm hosting app on gae. how actual java error? says line , exception got? , btw error i'm looking called?

thanks in advance!

in gwt 2.1.1 here comes umbrellaexception collects set of child throwables together. try this:

public void onmoduleload() {   gwt.setuncaughtexceptionhandler(new gwt.uncaughtexceptionhandler() {     @override     public void onuncaughtexception(@notnull throwable e) {       ensurenotumbrellaerror(e);     }   }); } 

where ensurenotumbrellaerror defined follows:

private static void ensurenotumbrellaerror(@notnull throwable e) {   (throwable th : ((umbrellaexception) e).getcauses()) {     if (th instanceof umbrellaexception) {       ensurenotumbrellaerror(th);     } else {       th.printstacktrace();     }   } } 

Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -