1.00.2
C++ Simulated Travel Demand Generation Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
TRADEMGEN::DemandInputFileNotFoundException::DemandInputFileNotFoundException
DemandInputFileNotFoundException(const std::string &iWhat)
Definition:
TRADEMGEN_Exceptions.hpp:36
TRADEMGEN::TrademgenGenerationException
Definition:
TRADEMGEN_Exceptions.hpp:18
TRADEMGEN::IndexOutOfRangeException
Definition:
TRADEMGEN_Exceptions.hpp:43
TRADEMGEN::IndexOutOfRangeException::IndexOutOfRangeException
IndexOutOfRangeException(const std::string &iWhat)
Definition:
TRADEMGEN_Exceptions.hpp:48
TRADEMGEN
Definition:
BasConst.cpp:10
TRADEMGEN::TrademgenGenerationException::TrademgenGenerationException
TrademgenGenerationException(const std::string &iWhat)
Definition:
TRADEMGEN_Exceptions.hpp:23
TRADEMGEN::DemandInputFileNotFoundException
Definition:
TRADEMGEN_Exceptions.hpp:30
stdair
Forward declarations.
Definition:
CategoricalAttribute.hpp:14
Generated on Tue Feb 23 2016 09:45:54 for TraDemGen by
1.8.11