summaryrefslogtreecommitdiff
path: root/ept/apt/apt.h
diff options
context:
space:
mode:
authorEnrico Zini <enrico@enricozini.org>2015-09-10 19:52:45 +0200
committerEnrico Zini <enrico@enricozini.org>2015-09-10 19:52:45 +0200
commitc5dd516802af50f8e369e9f520b88dcf28dc77df (patch)
treeb7df739f0cb01abf87bd6cae9cd55bb26920fc94 /ept/apt/apt.h
parent74e4ebe74b307d65d9064357cbf80855afbe059b (diff)
parentea85d58bc9d619e1511b40a16a630c5da9e60a42 (diff)
downloadlibept-c5dd516802af50f8e369e9f520b88dcf28dc77df.tar.gz
Merge branch 'notagcoll': removed dependencies on tagcoll and wibble.
Diffstat (limited to 'ept/apt/apt.h')
-rw-r--r--ept/apt/apt.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/ept/apt/apt.h b/ept/apt/apt.h
index 6e6ce74..e71ecf7 100644
--- a/ept/apt/apt.h
+++ b/ept/apt/apt.h
@@ -24,27 +24,20 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <wibble/exception.h>
#include <ept/apt/version.h>
-
#include <iterator>
+#include <stdexcept>
class pkgCache;
namespace ept {
namespace apt {
-class Exception : public wibble::exception::Generic
+class Exception : public std::runtime_error
{
-protected:
- std::string m_message;
-
public:
- Exception(const std::string& context) throw ();
- ~Exception() throw () {}
-
- virtual const char* type() const throw () { return "Apt"; }
- virtual std::string desc() const throw () { return m_message; }
+ Exception(const std::string& message);
+ ~Exception() noexcept override;
};
class Apt;