Michael Jerris 3abb7730b2 add xmlrpc-c 1.03.14 to in tree libs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3772 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-21 03:57:49 +00:00

27 lines
419 B
C++

#ifndef GIRERR_HPP_INCLUDED
#define GIRERR_HPP_INCLUDED
#include <string>
#include <exception>
#define HAVE_GIRERR_ERROR
namespace girerr {
class error : public std::exception {
public:
error(std::string const& what_arg) : _what(what_arg) {}
~error() throw() {}
virtual const char *
what() const throw() { return this->_what.c_str(); };
private:
std::string _what;
};
} // namespace
#endif