use of com.xenoage.utils.gwt.error.GwtErrorProcessing in project Zong by Xenoage.
the class WebApp method onModuleLoad.
/**
* This is the entry point method.
*/
@Override
public void onModuleLoad() {
instance = this;
// init logging
Log.init(new GwtLogProcessing(Zong.getNameAndVersion(appFirstName)));
// init error handler
Err.init(new GwtErrorProcessing());
// init utils
GwtZongPlatformUtils.init(new AsyncCallback() {
@Override
public void onSuccess() {
step1_setup();
}
@Override
public void onFailure(Exception ex) {
log(fatal("Could not init platform utils", ex));
}
});
}
Aggregations