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

#include <exception.hpp>

Inheritance diagram for xh_range_exception:
xh_exception xh_throwable

Public Member Functions

 xh_range_exception (const string &message, const string &origin="")
 
- Public Member Functions inherited from xh_exception
 xh_exception (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

A range-related exception.

Code should throw this exception when a value falls outside the range where it can reasonably be handled; examples include longitude outside the range -180:180, unrealistically high forces or velocities, etc. A range exception usually means that something has gone wrong internally.


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