Loading...
Searching...
No Matches
gams::GAMSExceptionExecution Class Reference

Exception class thrown for GAMS execution exceptions. More...

#include <gamsexceptionexecution.h>

Inheritance diagram for gams::GAMSExceptionExecution:
gams::GAMSException

Public Member Functions

 GAMSExceptionExecution (const std::string &what, int exitCode)
 
 GAMSExceptionExecution (const char *what, int exitCode)
 
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 34 of file gamsexceptionexecution.h.

Constructor & Destructor Documentation

◆ GAMSExceptionExecution() [1/2]

gams::GAMSExceptionExecution::GAMSExceptionExecution ( const std::string &  what,
int  exitCode 
)

Constructor.

Parameters
whatException message.
exitCodeExit Code.

◆ GAMSExceptionExecution() [2/2]

gams::GAMSExceptionExecution::GAMSExceptionExecution ( const char *  what,
int  exitCode 
)

Constructor.

Parameters
whatException message.
exitCodeExit Code.

Member Function Documentation

◆ rc()

int gams::GAMSExceptionExecution::rc ( )

Get the return code.