TraDemGen Logo  1.00.9
C++ Simulated Travel Demand Generation Library
Loading...
Searching...
No Matches
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
12namespace TRADEMGEN {
13
14 // ///////// Exceptions ///////////
18 class TrademgenGenerationException : public stdair::RootException {
19 public:
23 TrademgenGenerationException (const std::string& iWhat)
24 : stdair::RootException (iWhat) {}
25 };
26
31 : public stdair::FileNotFoundException {
32 public:
36 DemandInputFileNotFoundException (const std::string& iWhat)
37 : stdair::FileNotFoundException (iWhat) {}
38 };
39
44 public:
48 IndexOutOfRangeException (const std::string& iWhat)
50 };
51
52}
53#endif // __TRADEMGEN_TRADEMGEN_EXCEPTIONS_HPP
54
Forward declarations.
TrademgenGenerationException(const std::string &iWhat)
IndexOutOfRangeException(const std::string &iWhat)