15 #ifndef ECL_EXCEPTIONS_STANDARD_EXCEPTION_HPP_ 16 #define ECL_EXCEPTIONS_STANDARD_EXCEPTION_HPP_ 23 #ifndef ECL_DISABLE_EXCEPTIONS 31 #include <ecl/errors/handlers.hpp> 32 #include <ecl/errors/macros.hpp> 62 StandardException(
const char* loc,
ErrorFlag error );
69 StandardException(
const char* loc,
ErrorFlag error,
const std::string &msg );
76 StandardException(
const char* loc,
const StandardException &e );
78 virtual ~StandardException() throw() {}
85 const char* what()
const throw();
92 const
std::
string& message()
const {
return detailed_message; };
94 const ErrorFlag& flag()
const {
return error_flag; }
98 std::string detailed_message;
Pre-processed macro definitions that define the target platform.
#define ecl_exceptions_PUBLIC