From b08d5c2cf630ecb89d2f22b985dcdfcf25494258 Mon Sep 17 00:00:00 2001 From: Zdenek Prikryl Date: Tue, 28 Apr 2009 16:58:07 +0200 Subject: moved files to new inc directory removed commlayerinner from lybrary --- lib/Utils/ABRTException.h | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 lib/Utils/ABRTException.h (limited to 'lib/Utils') diff --git a/lib/Utils/ABRTException.h b/lib/Utils/ABRTException.h deleted file mode 100644 index 730faf3..0000000 --- a/lib/Utils/ABRTException.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef ABRTEXCEPTION_H_ -#define ABRTEXCEPTION_H_ - -#include - -typedef enum {EXCEP_UNKNOW, - EXCEP_DD_OPEN, - EXCEP_DD_LOAD, - EXCEP_DD_SAVE, - EXCEP_DD_DELETE, - EXCEP_DL, - EXCEP_PLUGIN, - EXCEP_ERROR, - EXCEP_FATAL} abrt_exception_t; - -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) - {} - CABRTException(const abrt_exception_t& pType, const std::string& pWhat) : - m_sWhat(pWhat), - m_Type(pType) - {} - abrt_exception_t type() { return m_Type; } - std::string what() { return m_sWhat; } -}; - -#endif /* ABRTEXCEPTION_H_ */ -- cgit