/** * Override this method to perform additional work when the action execution failed. * * @param caught the caught {@link Throwable}. * @param response the failure {@link Response}. */ protected void onExecuteFailure(Throwable caught, Response response) { onExecuteFailure(caught); } }
@Override public void onFailure(Throwable caught) { dispatchRequest.cancel(); dispatchCall.onExecuteFailure(caught); }
@Override public void onFailure(Throwable caught) { dispatchRequest.cancel(); dispatchCall.onExecuteFailure(caught); }