Simbody
|
This is for reporting problems detected by checking the caller's supplied arguments to a SimTK API method. More...
#include <Exception.h>
Public Member Functions | |
APIArgcheckFailed (const char *fn, int ln, const char *assertion, const char *className, const char *methodName, const char *fmt...) | |
virtual | ~APIArgcheckFailed () throw () |
This is for reporting problems detected by checking the caller's supplied arguments to a SimTK API method.
Messages should be suitable for SimTK API users. This is not intended for detection of internal bugs where a SimTK developer passed bad arguments to some internal routine -- use Assert instead for that. The exception message accepts printf-style arguments and should contain useful information for the API user. Don't throw this exception directly; use one of the family SimTK_APIARGCHECK and SimTK_APIARGCHECK_ALWAYS macros.
SimTK::Exception::APIArgcheckFailed::APIArgcheckFailed | ( | const char * | fn, |
int | ln, | ||
const char * | assertion, | ||
const char * | className, | ||
const char * | methodName, | ||
const char * | fmt... | ||
) | [inline] |
virtual SimTK::Exception::APIArgcheckFailed::~APIArgcheckFailed | ( | ) | throw () [inline, virtual] |