blob: 0ee61d584e9666df8d71a99cdc8102737304a775 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* rsspp - Copyright (C) 2008-2012 Andreas Krennmair <ak@newsbeuter.org>
* Licensed under the MIT/X Consortium License. See file LICENSE
* for more information.
*/
#include <rsspp.h>
#include <config.h>
namespace rsspp {
exception::exception(const std::string& errmsg) : emsg(errmsg) {
}
exception::~exception() throw() {
}
const char* exception::what() const throw() {
return emsg.c_str();
}
}
|