diff base/Exceptions.h @ 544:65d955c4d671

* throw (but do not yet catch!) exception when running out of disc space in coded audio file * simpler (faster?) cache-to-cache move operation in spectrogram, and some other minor fixes
author Chris Cannam
date Wed, 04 Feb 2009 12:13:16 +0000
parents 7aa1de571880
children b4a8d8221eaf
line wrap: on
line diff
--- a/base/Exceptions.h	Wed Feb 04 10:53:38 2009 +0000
+++ b/base/Exceptions.h	Wed Feb 04 12:13:16 2009 +0000
@@ -81,9 +81,11 @@
 public:
     InsufficientDiscSpace(QString directory,
                           size_t required, size_t available) throw();
+    InsufficientDiscSpace(QString directory) throw();
     virtual ~InsufficientDiscSpace() throw() { }
     virtual const char *what() const throw();
 
+    QString getDirectory() const { return m_directory; }
     size_t getRequired() const { return m_required; }
     size_t getAvailable() const { return m_available; }