gams::GAMSExceptionExecution Class Reference
Exception class thrown for GAMS execution exceptions. More...
#include <gamsexceptionexecution.h>
Inheritance diagram for gams::GAMSExceptionExecution:
Public Member Functions | |
| GAMSExceptionExecution (const std::string &what, int exitCode, GAMSWorkspace *ws=nullptr) | |
| GAMSExceptionExecution (const char *what, int exitCode, GAMSWorkspace *ws=nullptr) | |
| int | rc () |
| Get the return code. | |
Public Member Functions inherited from gams::GAMSException | |
| GAMSException (const std::string &what) | |
| GAMSException (const char *what) | |
Detailed Description
Exception class thrown for GAMS execution exceptions.
Definition at line 36 of file gamsexceptionexecution.h.
Constructor & Destructor Documentation
◆ GAMSExceptionExecution() [1/2]
| gams::GAMSExceptionExecution::GAMSExceptionExecution | ( | const std::string & | what, |
| int | exitCode, | ||
| GAMSWorkspace * | ws = nullptr ) |
Constructor.
- Parameters
-
what Exception message. exitCode Exit Code. ws Active GAMSWorkspace.
◆ GAMSExceptionExecution() [2/2]
| gams::GAMSExceptionExecution::GAMSExceptionExecution | ( | const char * | what, |
| int | exitCode, | ||
| GAMSWorkspace * | ws = nullptr ) |
Constructor.
- Parameters
-
what Exception message. exitCode Exit Code. ws Active GAMSWorkspace.
Member Function Documentation
◆ rc()
| int gams::GAMSExceptionExecution::rc | ( | ) |
Get the return code.
Public Member Functions inherited from