TDME2  1.9.200
ExceptionBase.h
Go to the documentation of this file.
1 /**
2  * @author Andreas Drewke
3  */
4 #pragma once
5 
6 #include <stdexcept>
7 #include <string>
8 
9 #include <tdme/tdme.h>
11 
12 using std::runtime_error;
13 using std::string;
14 
15 /**
16  * Exception base class
17  * @author Andreas Drewke
18  */
19 class tdme::utilities::ExceptionBase: public runtime_error {
20  public:
21  /**
22  * @brief Public constructor
23  * @param message message Exception message
24  */
25  ExceptionBase(const string& message) throw();
26  ~ExceptionBase() throw();
27 };
Exception base class.
Definition: ExceptionBase.h:19
ExceptionBase(const string &message)
Public constructor.