summaryrefslogtreecommitdiff
path: root/include/exception.h
blob: 5881cabe9f21edb047852ef347f44bc45f3914e1 (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