head 1.4; access; symbols; locks; strict; comment @# @; 1.4 date 2002.09.07.01.50.37; author curt; state Exp; branches; next 1.3; 1.3 date 2002.08.31.19.01.52; author curt; state Exp; branches; next 1.2; 1.2 date 2002.08.31.18.54.00; author curt; state Exp; branches; next 1.1; 1.1 date 2002.02.15.17.21.55; author curt; state Exp; branches; next ; desc @@ 1.4 log @Updated doxygen docs. @ text @
Main Page Class Hierarchy Compound List File List Compound Members File Members

# sg_exception Class Reference

Base class for all SimGear exceptions. More...

`#include <exception.hxx>`

Inheritance diagram for sg_exception:

List of all members.

## Public Methods
| sg_exception ()
| sg_exception (const string &message, const string &origin="")
virtual | ~sg_exception ()

## 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 102 of file exception.hxx.

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

- exception.hxx
- exception.cxx

@ 1.3 log @Oops, try again. @ text @d42 1 a42 1