Simbody
3.3
|
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 () |
Public Member Functions inherited from SimTK::Exception::Base | |
Base (const char *fn="<UNKNOWN>", int ln=0) | |
virtual | ~Base () throw () |
const std::string & | getMessage () const |
const std::string & | getMessageText () const |
const char * | what () const throw () |
Additional Inherited Members | |
Protected Member Functions inherited from SimTK::Exception::Base | |
void | setMessage (const std::string &msgin) |
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.
|
inline |
|
inlinevirtual |