summaryrefslogtreecommitdiffstats
path: root/lib/Utils
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Utils')
-rw-r--r--lib/Utils/ABRTException.h3
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)