Mercurial > dedupe
comparison Exception/SQLException.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 | bf3dce7fedcb |
| children | f507a7240bc9 |
comparison
equal
deleted
inserted
replaced
| 72:b4185273c14a | 73:c9447697609f |
|---|---|
| 6 | 6 |
| 7 class SQLException : public Exception { | 7 class SQLException : public Exception { |
| 8 public: | 8 public: |
| 9 SQLException(const string_t& errMsg); | 9 SQLException(const string_t& errMsg); |
| 10 SQLException(const QSqlQuery& error); | 10 SQLException(const QSqlQuery& error); |
| 11 | |
| 12 virtual void raise() const; | |
| 11 }; | 13 }; |
| 12 | 14 |
| 13 #endif //IOEXCEPTION_HPP | 15 #endif //IOEXCEPTION_HPP |
