X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fvalue.h;h=5fc3540f763ee9a2a8d4de12f623d5b2f77eccb3;hb=ec2bce20b19a20b4ebc17e4cb82a0bfbcda15c50;hp=be6a7a483f7768849f845051dbe563e9cea97ac9;hpb=98f563736e0837a429714b98656215503c607710;p=libs%2Fdatafile.git diff --git a/source/value.h b/source/value.h index be6a7a4..5fc3540 100644 --- a/source/value.h +++ b/source/value.h @@ -9,6 +9,7 @@ Distributed under the LGPL #include #include #include +#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; }