Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
xh_error Class Reference

#include <exception.hpp>

Inheritance diagram for xh_error:
xh_throwable

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)
 

Detailed Description

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.


The documentation for this class was generated from the following files: