1 #ifndef INC_UTIL_EXCEPTION_H
2 #define INC_UTIL_EXCEPTION_H
38 virtual const char*
what() const noexcept {
return m_msg.c_str(); }
47 #endif // end-of-include-guard
virtual ~Exception() noexcept
Virtual destructor for abstract class.
virtual const char * what() const noexcept
Return error message.
Extremely simple Exception root class.
Namespace for the core simulator.
Exception(std::string const &m)
Constructor initializes message for the exception.