#include <mexception.h>
Inheritance diagram for Exception::
Public Methods | |
Exception (const String &what) | |
Exception (const Exception &orig) | |
~Exception () | |
const String& | what () const |
Replacement for standard C++ 'exception' class. I think there was some reason to replace it.
You can subclass this baseclass with the EXCEPTIONCLASS() macro. For example:
EXCEPTIONCLASS (assertion_failed);
See mmagisupp.h for some common exception classes. Many debugging macros that throw exceptions are also defined there.
Exception fails can be tracked with the FAILTRACE macro.
Definition at line 51 of file mexception.h.
|
Constructor the Exception with the given explanation. Example: throw Exception ("Some text"); |
|
Returns the explanation text given at throw.
Definition at line 67 of file mexception.h. |