10,17 → 10,23 |
|
@Override |
public void onModuleLoad() { |
// A décommenter + compiler en detailed dans le cas d'une erreur |
// survernant uniquement sur le serveur |
/*GWT.setUncaughtExceptionHandler(new UncaughtExceptionHandler() { |
|
@Override |
/*GWT.setUncaughtExceptionHandler(new |
GWT.UncaughtExceptionHandler() { |
public void onUncaughtException(Throwable e) { |
Window.alert("uncaught: " + e.getMessage()); |
String s = buildStackTrace(e, "RuntimeException:\n"); |
Window.alert(s); |
e.printStackTrace(); |
Throwable unwrapped = unwrap(e); |
Window.alert(buildStackTrace(unwrapped, "")); |
} |
|
public Throwable unwrap(Throwable e) { |
if(e instanceof UmbrellaException) { |
UmbrellaException ue = (UmbrellaException) e; |
if(ue.getCauses().size() == 1) { |
return unwrap(ue.getCauses().iterator().next()); |
} |
} |
return e; |
} |
});*/ |
|
CacheClient.getInstance().initialiserAvecParametres(); |