]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/error.h
Throw out anything polling related - they will go to libmspio eventually
[libs/core.git] / source / core / error.h
index c311bcdc4316e71053530f32b8e678cf5cbd43e8..a8ad2939daa72bb5021719fa1da126a0b151efba 100644 (file)
@@ -1,5 +1,5 @@
 /*
-This file is part of libmspframework
+This file is part of libmspcore
 Copyright © 2006 Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
@@ -13,7 +13,7 @@ namespace Msp {
 class UsageError: public Msp::Exception
 {
 public:
-       UsageError(bool b=true): Exception(""), brief(b) { }
+       UsageError(const std::string &r, bool b=true): Exception(r), brief(b) { }
        bool get_brief() const { return brief; }
 private:
        bool brief;