This sounds quite specific to a single page, I'd use an event handler public void onException(Throwable cause)
You can @Inject AlertManager to add alerts You can @Inject Request to test request.isXhr() You can @Inject AjaxResponseRenderer to update zones.