30#define SCIP_MSG_MAX 100
140 const char*
what(
void)
const throw() {
return _msg;}
159#define SCIP_CALL_EXC(x) \
161 SCIP_RETCODE retcode; \
162 if( (retcode = (x)) != SCIP_OKAY) \
164 throw SCIPException(retcode); \
exception handling class for SCIP
SCIPException(SCIP_RETCODE retcode)
constructs a SCIPEexception from an error code
const char * what(void) const
returns the error message
SCIP_RETCODE getRetcode(void) const
get method for _retcode
int SCIPsnprintf(char *t, int len, const char *s,...)
internal miscellaneous methods
char * SCIPgetErrorString(SCIP_RETCODE retcode, char *buffer_str, int buffersize)
translates a SCIP_RETCODE into an error string
#define SCIP_MSG_MAX
maximal number of characters in an error messages
@ SCIP_PARAMETERWRONGTYPE
@ SCIP_KEYALREADYEXISTING
enum SCIP_Retcode SCIP_RETCODE