SUMO - Simulation of Urban MObility
TraCIException.h
Go to the documentation of this file.
00001 /****************************************************************************/
00012 /****************************************************************************/
00013 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
00014 // Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
00015 /****************************************************************************/
00016 //
00017 //   This file is part of SUMO.
00018 //   SUMO is free software: you can redistribute it and/or modify
00019 //   it under the terms of the GNU General Public License as published by
00020 //   the Free Software Foundation, either version 3 of the License, or
00021 //   (at your option) any later version.
00022 //
00023 /****************************************************************************/
00024 #ifndef TRACIEXCEPTION_H
00025 #define TRACIEXCEPTION_H
00026 #ifndef NO_TRACI
00027 
00028 
00029 // ===========================================================================
00030 // included modules
00031 // ===========================================================================
00032 #ifdef _MSC_VER
00033 #include <windows_config.h>
00034 #else
00035 #include <config.h>
00036 #endif
00037 
00038 #include <string>
00039 #include <stdexcept>
00040 
00041 
00042 // ===========================================================================
00043 // class definitions
00044 // ===========================================================================
00048 namespace traci {
00049 class TraCIException : public std::runtime_error {
00050 public:
00052     TraCIException(std::string what)
00053         : std::runtime_error(what) {}
00054 };
00055 
00056 }
00057 
00058 #endif
00059 
00060 #endif
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines