sg_exception Class Reference

Base class for all SimGear exceptions. More...

#include <exception.hxx>

Inheritance diagram for sg_exception:
sg_throwable sg_format_exception sg_io_exception sg_range_exception

List of all members.


Detailed Description

Base class for all SimGear exceptions.

SimGear-based code should throw this exception only when no more specific exception applies. It may not be caught until higher up in the application, where it is not possible to resume normal operations if desired.

A caller can catch sg_exception by default to ensure that all exceptions are caught. Every SimGear exception can contain a human-readable error message and a human-readable string indicating the part of the application causing the exception (as an aid to debugging, only).

Definition at line 107 of file exception.hxx.


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

Generated on 23 Feb 2010 for SimGear by  doxygen 1.6.1