~dcplusplus-team/dcplusplus/trunk

« back to all changes in this revision

Viewing changes to dcpp/DownloadManager.cpp

  • Committer: poy
  • Date: 2010-05-25 18:28:09 UTC
  • Revision ID: poy@123gen.com-20100525182809-g3h2zzriwu3rgyn8
catch all flush exceptions

Show diffs side-by-side

added added

removed removed

Lines of Context:
325
325
                // First, finish writing the file (flushing the buffers and closing the file...)
326
326
                try {
327
327
                        d->getFile()->flush();
328
 
                } catch(const FileException& e) {
 
328
                } catch(const Exception& e) {
329
329
                        d->resetPos();
330
330
                        failDownload(aSource, e.getError());
331
331
                        return;