diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-04-24 12:18:31 +0200 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-04-24 12:18:31 +0200 |
| commit | 68ba4945437e12eaa1dead6df27b58ea408f63e8 (patch) | |
| tree | a608d71e76dc82bf9ffdec95452c429d5aec29d2 /lib/Utils | |
| parent | 7b2d4874b7bd992ef3f09124b7ebbc346eba01f4 (diff) | |
final touch on commlayer, minor fixes in exceptions (zprikryl)
Diffstat (limited to 'lib/Utils')
| -rw-r--r-- | lib/Utils/ABRTException.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Utils/ABRTException.h b/lib/Utils/ABRTException.h index 32a8dd1..730faf3 100644 --- a/lib/Utils/ABRTException.h +++ b/lib/Utils/ABRTException.h @@ -13,12 +13,13 @@ typedef enum {EXCEP_UNKNOW, EXCEP_ERROR, EXCEP_FATAL} abrt_exception_t; -class CABRTException +class CABRTException : public std::exception { private: std::string m_sWhat; abrt_exception_t m_Type; public: + virtual ~CABRTException() throw() {} CABRTException(const abrt_exception_t& pType, const char* pWhat) : m_sWhat(pWhat), m_Type(pType) |
