16 #ifndef NOTIMPLEMENTEDEXCEPTION_HPP
17 #define NOTIMPLEMENTEDEXCEPTION_HPP
19 #include "Athena/Exception.hpp"
31 m_exceptionName =
"NotImplementedException";
37 #define THROW_NOT_IMPLEMENTED_EXCEPTION() \
39 if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, "NotImplementedException"); return; \
41 throw Athena::error::NotImplementedException(std::string(), __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
45 #define THROW_NOT_IMPLEMENTED_EXCEPTION_RETURN(ret) \
47 if (atGetExceptionHandler()) {atGetExceptionHandler()(__FILE__, AT_PRETTY_FUNCTION, __LINE__, "NotImplementedException"); return ret; \
49 throw Athena::error::NotImplementedException(std::string(), __FILE__, AT_PRETTY_FUNCTION, __LINE__); \
52 #endif // NOTIMPLEMENTEDEXCEPTION_HPP
Exception(const std::string &message, const std::string &file, const std::string &function, const int line)
The constructor for an Exception.
std::string message() const
Returns the Error message of the exception.
The baseclass for all Exceptions.