stats.bytesTransferred += source.getSize();
}
catch (IOException ioe) {
// FIXME that's not right, the task does not neccessarily be the one
// that throws this exception as there are flushs involved
fireTaskFinished(new TaskFinishedEvent(task, ioe.getMessage()));
}
}