StdAir Logo  1.00.3
C++ Standard Airline IT Object Library
stdair::RootException Class Reference

Root of the stdair exceptions. More...

#include <stdair/stdair_exceptions.hpp>

+ Inheritance diagram for stdair::RootException:

Public Member Functions

 RootException (const std::string &iWhat)
 
 RootException ()
 
virtual ~RootException () throw ()
 
const char * what () const throw ()
 

Protected Attributes

std::string _what
 

Detailed Description

Root of the stdair exceptions.

All the stdair exceptions inherit from that root, allowing to catch them and to spot them easily when arising in code wrapping the stdair library.

Definition at line 19 of file stdair_exceptions.hpp.

Constructor & Destructor Documentation

stdair::RootException::RootException ( const std::string &  iWhat)
inline

Main Constructor.

Definition at line 24 of file stdair_exceptions.hpp.

stdair::RootException::RootException ( )
inline

Default constructor.

Definition at line 28 of file stdair_exceptions.hpp.

virtual stdair::RootException::~RootException ( )
throw (
)
inlinevirtual

Destructor.

Definition at line 33 of file stdair_exceptions.hpp.

Member Function Documentation

const char* stdair::RootException::what ( ) const
throw (
)
inline

Give the details of the exception.

Definition at line 38 of file stdair_exceptions.hpp.

References _what.

Referenced by stdair::ConfigHolderStruct::updateAirlineFeatures().

Member Data Documentation

std::string stdair::RootException::_what
protected

Details for the exception.

Definition at line 46 of file stdair_exceptions.hpp.

Referenced by what().


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