437438439440441442443444445446447
l4j.warn("Error closing stream", e1); } } for (Iterator<ProgressListener> i = listeners.iterator(); i.hasNext();) { ProgressListener pl = i.next(); pl.onError(e); } } /** * Marks the upload as completed and notifies the listeners.
294295296297298299300301302303304
private void fail(Exception e) { this.failed = true; this.error = e; for (Iterator<ProgressListener> i = listeners.iterator(); i.hasNext();) { ProgressListener pl = i.next(); pl.onError(e); } } /**