]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/value.h
Remove old build info
[libs/datafile.git] / source / value.h
index be6a7a483f7768849f845051dbe563e9cea97ac9..5fc3540f763ee9a2a8d4de12f623d5b2f77eccb3 100644 (file)
@@ -9,6 +9,7 @@ Distributed under the LGPL
 #include <sstream>
 #include <string>
 #include <vector>
+#include "error.h"
 
 namespace Msp {
 namespace Parser {
@@ -64,7 +65,8 @@ inline T Value::get() const
        T result;
        ss>>result;
        if(ss.fail())
-               throw ValueError("Invalid value");
+               //XXX
+               throw Exception("Invalid value");
 
        return result;
 }