base::Exception Class Reference

Base Exception class. More...

#include <_src_base_exception.hh>

Inheritance diagram for base::Exception:

base::AssertException control::ExceptionCommand

List of all members.

Public Member Functions

 Exception (void)
 Exception (const string &text)
 Exception (ostringstream &oss)
virtual ~Exception () throw ()
virtual const char * what () const throw ()

Protected Attributes

string mText
 derivative can reassign


Detailed Description

Base Exception class.

The purpose of base::Exception class is to specifically catch exceptions thrown by the application rather than by the C++ standard library. Usually, though, base::Exception is caught as std::exception.


Constructor & Destructor Documentation

base::Exception::Exception ( void   ) 

ctor/dtor.

base::Exception::Exception ( const string &  text  )  [explicit]

base::Exception::Exception ( ostringstream &  oss  )  [explicit]

base::Exception::~Exception (  )  throw () [virtual]


Member Function Documentation

const char * base::Exception::what ( void   )  const throw () [virtual]

Returns:
Exception's error message text.


Member Data Documentation

string base::Exception::mText [protected]

derivative can reassign


The documentation for this class was generated from the following files:
Palomino Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:49 2010