1.00.0
C++ Simulated Travel Demand Generation Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Pages
TRADEMGEN_Exceptions.hpp
Go to the documentation of this file.
1
#ifndef __TRADEMGEN_TRADEMGEN_EXCEPTIONS_HPP
2
#define __TRADEMGEN_TRADEMGEN_EXCEPTIONS_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <exception>
9
// StdAir
10
#include <stdair/stdair_exceptions.hpp>
11
12
namespace
TRADEMGEN {
13
14
// ///////// Exceptions ///////////
18
class
TrademgenGenerationException
:
public
stdair::RootException {
19
public
:
23
TrademgenGenerationException
(
const
std::string& iWhat)
24
: stdair::
RootException
(iWhat) {}
25
};
26
30
class
DemandInputFileNotFoundException
31
:
public
stdair::FileNotFoundException {
32
public
:
36
DemandInputFileNotFoundException
(
const
std::string& iWhat)
37
: stdair::
FileNotFoundException
(iWhat) {}
38
};
39
43
class
IndexOutOfRangeException
:
public
TrademgenGenerationException
{
44
public
:
48
IndexOutOfRangeException
(
const
std::string& iWhat)
49
:
TrademgenGenerationException
(iWhat) {}
50
};
51
52
}
53
#endif // __TRADEMGEN_TRADEMGEN_EXCEPTIONS_HPP
54
Generated on Sun Dec 23 2012 17:58:29 for TraDemGen by
1.8.1.1