exception handling class for SCIP
this class enables you to handle the return code of SCIP functions in a C++ way
Definition at line 114 of file scip_exception.hpp.
exception handling class for SCIP More...
#include <scip_exception.hpp>
Public Member Functions | |
SCIPException (SCIP_RETCODE retcode) | |
constructs a SCIPEexception from an error code | |
const char * | what (void) const throw () |
returns the error message | |
SCIP_RETCODE | getRetcode (void) const |
get method for _retcode | |
~SCIPException (void) | |
|
inline |
constructs a SCIPEexception from an error code
this constructs a new SCIPException from given error code
[in] | retcode | SCIP error code |
Definition at line 127 of file scip_exception.hpp.
References i, NULL, SCIP_MSG_MAX, SCIPgetErrorString(), and SCIPsnprintf().
|
inline |
destructor
Definition at line 150 of file scip_exception.hpp.
returns the error message
this overrides the corresponding method of std::exception in order to allow you to catch all of your exceptions as std::exception
Definition at line 140 of file scip_exception.hpp.
|
inline |
get method for _retcode
Definition at line 147 of file scip_exception.hpp.