OpenTREP Logo  0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
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

◆ RootException() [1/2]

◆ RootException() [2/2]

OPENTREP::RootException::RootException ( )
inline

Default constructor.

Definition at line 29 of file OPENTREP_exceptions.hpp.

References _what.

◆ ~RootException()

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

Destructor.

Definition at line 34 of file OPENTREP_exceptions.hpp.

Member Function Documentation

◆ what()

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

◆ _what

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

Details for the exception.

Definition at line 47 of file OPENTREP_exceptions.hpp.

Referenced by RootException(), RootException(), and what().


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