SoPlex
|
Exception base class. More...
#include <exceptions.h>
Public Member Functions | |
Construction / destruction | |
SPxException (const std::string &m="") | |
constructor | |
virtual | ~SPxException () |
destructor | |
Access / modification | |
virtual const std::string | what () const |
returns exception message |
Private Attributes | |
Private data | |
std::string | msg |
Exception message. |
Exception base class.
This class implements a base class for our SoPlex exceptions We provide a what() function which returns the exception message.
Definition at line 41 of file exceptions.h.
SPxException | ( | const std::string & | m = "" | ) |
constructor
The constructor receives an optional string as an exception message.
Definition at line 57 of file exceptions.h.
References msg.
Referenced by SPxInterfaceException::SPxInterfaceException(), SPxInternalCodeException::SPxInternalCodeException(), SPxMemoryException::SPxMemoryException(), and SPxStatusException::SPxStatusException().
|
virtual |
destructor
Definition at line 59 of file exceptions.h.
|
virtual |
returns exception message
Definition at line 66 of file exceptions.h.
References msg.
Referenced by runSoPlex().
|
private |
Exception message.
Definition at line 48 of file exceptions.h.
Referenced by SPxException(), and what().