/** * Override this method to perform additional work when the action execution failed. * * @param caught the caught {@link Throwable}. */ protected void onExecuteFailure(Throwable caught) { if (exceptionHandler != null && exceptionHandler.onFailure(caught) == Status.STOP) { return; } callback.onFailure(caught); }
protected <A extends Action<R>, R extends Result> void onUndoFailure(A action, Throwable caught, final AsyncCallback<Void> callback) { if (getExceptionHandler() != null && getExceptionHandler().onFailure(caught) == ExceptionHandler.Status.STOP) { return; } callback.onFailure(caught); }
protected <A extends Action<R>, R extends Result> void onExecuteFailure(A action, Throwable caught, final AsyncCallback<R> callback) { if (getExceptionHandler() != null && getExceptionHandler().onFailure(caught) == ExceptionHandler.Status.STOP) { return; } callback.onFailure(caught); }