#include <exception.hpp>
Public Member Functions | |
| xh_error (const string &message, const string &origin="") | |
Public Member Functions inherited from xh_throwable | |
| xh_throwable (const string &message, const string &origin="") | |
| virtual const string & | getMessage () const |
| virtual const string | getFormattedMessage () const |
| virtual void | setMessage (const string &message) |
| virtual const string & | getOrigin () const |
| virtual void | setOrigin (const string &origin) |
An unexpected fatal error.
Methods and functions show throw this exception when something very bad has happened (such as memory corruption or a totally unexpected internal value). Applications should catch this exception only at the top level if at all, and should normally terminate execution soon afterwards.
1.8.4