summaryrefslogtreecommitdiff
path: root/include/exception.h
blob: b0031a16609afbb255cf1de6eb9bbde4648a7909 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef AK_EXCEPTION__H
#define AK_EXCEPTION__H

#include <exception>

namespace newsbeuter {

class exception : public std::exception {
	public:
		exception(unsigned int error_code = 0);
		~exception() throw();
		virtual const char* what() const throw();
	private:
		unsigned int ecode;
};

}


#endif