SUMO - Simulation of Urban MObility
TraCIException.h
Go to the documentation of this file.
1
/****************************************************************************/
12
/****************************************************************************/
13
// SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
14
// Copyright (C) 2001-2016 DLR (http://www.dlr.de/) and contributors
15
/****************************************************************************/
16
//
17
// This file is part of SUMO.
18
// SUMO is free software: you can redistribute it and/or modify
19
// it under the terms of the GNU General Public License as published by
20
// the Free Software Foundation, either version 3 of the License, or
21
// (at your option) any later version.
22
//
23
/****************************************************************************/
24
#ifndef TRACIEXCEPTION_H
25
#define TRACIEXCEPTION_H
26
#ifndef NO_TRACI
27
28
29
// ===========================================================================
30
// included modules
31
// ===========================================================================
32
#ifdef _MSC_VER
33
#include <
windows_config.h
>
34
#else
35
#include <
config.h
>
36
#endif
37
38
#include <string>
39
#include <stdexcept>
40
41
42
// ===========================================================================
43
// class definitions
44
// ===========================================================================
48
class
TraCIException
:
public
std::runtime_error {
49
public
:
51
TraCIException
(std::string what)
52
: std::runtime_error(what) {}
53
};
54
55
#endif
56
57
#endif
windows_config.h
config.h
TraCIException::TraCIException
TraCIException(std::string what)
Definition:
TraCIException.h:51
TraCIException
Definition:
TraCIException.h:48
src
traci-server
TraCIException.h
Generated on Tue Nov 8 2016 21:47:32 for SUMO - Simulation of Urban MObility by
1.8.12