~ubuntu-branches/debian/lenny/linuxdcpp/lenny

« back to all changes in this revision

Viewing changes to client/File.h

  • Committer: Bazaar Package Importer
  • Author(s): Romain Beauxis
  • Date: 2006-05-30 01:59:51 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060530015951-ph4q3gteuuix20x9
Tags: 0.0.1.cvs20060530-1
* New upstream release
* Changed window title to LinuxDC++ (Closes: #352898)

Show diffs side-by-side

added added

removed removed

Lines of Context:
287
287
        virtual size_t read(void* buf, size_t& len) throw(FileException) {
288
288
                ssize_t x = ::read(h, buf, len);
289
289
                if(x == -1)
290
 
                        throw("Read error");
 
290
                        throw FileException("Read error");
291
291
                len = x;
292
292
                return (size_t)x;
293
293
        }
436
436
 
437
437
/**
438
438
 * @file
439
 
 * $Id: File.h,v 1.6 2005/11/02 15:46:00 paskharen Exp $
 
439
 * $Id: File.h,v 1.7 2006/02/14 20:07:03 paskharen Exp $
440
440
 */
441
441