ldas-tools-al
2.6.0
|
A class for capturing information about unexpected exceptions. More...
#include <unexpected_exception.hh>
Inherits bad_exception.
Public Member Functions | |
unexpected_exception (const std::string &what, const std::string &1) | |
Constructor. More... | |
~unexpected_exception () throw () | |
Destructor. | |
virtual const char * | what () const throw () |
The name of the bad exception. More... | |
const char *const return m_msg | c_str () |
The what() of the bad exception. More... | |
A class for capturing information about unexpected exceptions.
This class is intended to be thrown whenever a bad exception specification is encountered. This will happen if a function throws an exception that isn't listed in its exception specification
|
inline |
Constructor.
what | The name of the exception that was bad eg. runtime_error |
msg | The what() of the original exception |
const char* const return m_msg LDASTools::Error::unexpected_exception::c_str | ( | ) |
|
inlinevirtual |
The name of the bad exception.
Returns the name of the exception thrown by the function which was not listed in the functions exception specification
ret: The name of the bad exception.