20 #ifndef GAIA_BASEEXCEPTION_H 21 #define GAIA_BASEEXCEPTION_H 34 GException(
const char* msg) : exception(), _message(msg) {}
35 GException(
const std::string& msg) : exception(), _message(msg) {}
38 virtual const char* what()
const throw() {
return _message.c_str(); }
40 const std::string& message()
const throw() {
return _message; }
45 #endif // GAIA_BASEEXCEPTION_H Definition: baseexception.h:26
Definition: baseexception.h:28