#include <mexception.h>
Inheritance diagram for Exception:
Public Methods | |
Exception (const String &what) | |
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 62 of file mexception.h.
|
Constructor the Exception with the given explanation. Example: throw Exception ("Some text"); Definition at line 422 of file mobject.cc. |
|
Returns the explanation text given at throw.
Definition at line 78 of file mexception.h. |