OpenTREP Logo  0.6.0
C++ Open Travel Request Parsing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OPENTREP::RootException Class Reference

Root of the OpenTREP exceptions. More...

#include <opentrep/OPENTREP_exceptions.hpp>

+ Inheritance diagram for OPENTREP::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 OpenTREP exceptions.

All the OpenTREP 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 20 of file OPENTREP_exceptions.hpp.

Constructor & Destructor Documentation

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

Main Constructor.

Definition at line 25 of file OPENTREP_exceptions.hpp.

OPENTREP::RootException::RootException ( )
inline

Default constructor.

Definition at line 29 of file OPENTREP_exceptions.hpp.

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

Destructor.

Definition at line 34 of file OPENTREP_exceptions.hpp.

Member Function Documentation

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

Give the details of the exception.

Definition at line 39 of file OPENTREP_exceptions.hpp.

References _what.

Referenced by OPENTREP::OpenTrepSearcher::init().

Member Data Documentation

std::string OPENTREP::RootException::_what
protected

Details for the exception.

Definition at line 47 of file OPENTREP_exceptions.hpp.

Referenced by what().


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