microsoft-azure-storage/src/com/microsoft/azure/storage/core/ExecutionEngine.java
private static void fireErrorReceivingResponseEvent(OperationContext opContext, HttpURLConnection request,
            RequestResult result) {
        if (opContext.getErrorReceivingResponseEventHandler().hasListeners()
                || OperationContext.getGlobalErrorReceivingResponseEventHandler().hasListeners()) {
            ErrorReceivingResponseEvent event = new ErrorReceivingResponseEvent(opContext, request, result);
            opContext.getErrorReceivingResponseEventHandler().fireEvent(event);
            OperationContext.getGlobalErrorReceivingResponseEventHandler().fireEvent(event);
        }
    }
private static void fireErrorReceivingResponseEvent(OperationContext opContext, HttpURLConnection request,
            RequestResult result) {
        if (opContext.getErrorReceivingResponseEventHandler().hasListeners()
                || OperationContext.getGlobalErrorReceivingResponseEventHandler().hasListeners()) {
            ErrorReceivingResponseEvent event = new ErrorReceivingResponseEvent(opContext, request, result);
            opContext.getErrorReceivingResponseEventHandler().fireEvent(event);
            OperationContext.getGlobalErrorReceivingResponseEventHandler().fireEvent(event);
        }
    }
Fires events representing that an error occurred when receiving the response.