#include <exception.hpp>
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) |
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.
1.8.4