ErrorEvent.fire(this, new NetworkException()); } else { ErrorEvent.fire(this, buildException(method, caught));
if (!request.isCancelled()) { Ln.e(e, "An exception occurred during request network execution :" + e.getMessage()); handleRetry(request, new NetworkException("Exception occurred during invocation of web service.", e)); } else { Ln.e("An exception occurred during request network execution but request was cancelled, so listeners are not called.");