Mercurial > dedupe
comparison Exception.hpp @ 16:06166d6c083b
Add configuration processing.
Cache DB values
Add a custom RBTree to save space.
Track multiple DB connections properly.
More testing.
Add ValueExistsException.
| author | Tom Fredrik Blenning Klaussen <bfg@blenning.no> |
|---|---|
| date | Tue, 28 Aug 2012 18:58:02 +0200 |
| parents | b5943e4bf676 |
| children |
comparison
equal
deleted
inserted
replaced
| 15:199fc63c60c1 | 16:06166d6c083b |
|---|---|
| 17 throw *this; | 17 throw *this; |
| 18 } | 18 } |
| 19 | 19 |
| 20 | 20 |
| 21 protected: | 21 protected: |
| 22 Exception(const string_t& errorMsg) : errorMsg_(errorMsg) {} | 22 Exception(const string_t& errorMsg = string_t()) : errorMsg_(errorMsg) {} |
| 23 virtual ~Exception() {} | 23 virtual ~Exception() {} |
| 24 | 24 |
| 25 void setErrorMsg(string_t& errorMsg); | 25 void setErrorMsg(string_t& errorMsg); |
| 26 const string_t& errorMsg(string_t& errorMsg); | 26 const string_t& errorMsg(string_t& errorMsg); |
| 27 | 27 |
