Loading...
Searching...
No Matches
gamsexception.h
1
26#ifndef GAMSEXCEPTION_H
27#define GAMSEXCEPTION_H
28
29#include "gamslib_global.h"
30#include <stdexcept>
31
32namespace gams {
33
35class LIBSPEC GAMSException : public std::runtime_error
36{
37public:
40 GAMSException(const std::string& what);
41
44 GAMSException(const char* what);
45};
46
47} // namespace gams
48#endif // GAMSEXCEPTION_H
Exception class thrown for GAMS exceptions.
Definition: gamsexception.h:36
GAMSException(const std::string &what)
GAMSException(const char *what)
Definition: gams.h:91