diff options
Diffstat (limited to 'src/util/exception.h')
-rw-r--r-- | src/util/exception.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/exception.h b/src/util/exception.h index b77e7c860..5449d67f7 100644 --- a/src/util/exception.h +++ b/src/util/exception.h @@ -31,7 +31,7 @@ public: Exception(const std::string& msg) : d_msg(msg) {} Exception(const char* msg) : d_msg(msg) {} // Destructor - virtual ~Exception() {} + virtual ~Exception() throw() {} // NON-VIRTUAL METHOD for setting and printing the error message void setMessage(const std::string& msg) { d_msg = msg; } // Printing: feel free to redefine toString(). When inherited, |