sg_range_exception Class Reference

A range-related SimGear exception. More...

#include <exception.hxx>

Inheritance diagram for sg_range_exception:

sg_exception sg_throwable List of all members.

Public Member Functions

 sg_range_exception ()
 sg_range_exception (const string &message, const string &origin="")
virtual ~sg_range_exception ()

Detailed Description

A range-related SimGear exception.

SimGear-based 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, an illegal airport code, etc. A range exception usually means that something has gone wrong internally.

Definition at line 172 of file exception.hxx.


The documentation for this class was generated from the following files:
Generated on Mon Dec 17 09:30:57 2007 for SimGear by  doxygen 1.5.1