UncaughtExceptionHandler ueh = GWT.getUncaughtExceptionHandler();
if (ueh != null) {
try {
listener.onRequestExternal(request, sender, sendResponse);
} catch (Exception ex) {
ueh.onUncaughtException(ex);
}
} else {
listener.onRequestExternal(request, sender, sendResponse);
}
}