Mercurial > dedupe
comparison Exception/InvalidDataException.hpp @ 73:c9447697609f
Fixed some issues with raise.
100% function code coverage for Exceptions.
| author | Tom Fredrik Blenning Klaussen <bfg@bfgconsult.no> |
|---|---|
| date | Thu, 31 Jan 2013 20:33:01 +0100 |
| parents | b2c2c2bf2bbd |
| children |
comparison
equal
deleted
inserted
replaced
| 72:b4185273c14a | 73:c9447697609f |
|---|---|
| 3 | 3 |
| 4 #include "Exception.hpp" | 4 #include "Exception.hpp" |
| 5 | 5 |
| 6 class InvalidDataException : public Exception | 6 class InvalidDataException : public Exception |
| 7 { | 7 { |
| 8 public: | |
| 9 InvalidDataException(const string_t& errMsg = string_t()); | |
| 10 virtual void raise() const; | |
| 8 }; | 11 }; |
| 9 | 12 |
| 10 #endif //INVALIDDATAEXCEPTION_HPP | 13 #endif //INVALIDDATAEXCEPTION_HPP |
