This is for reporting errors occurring during execution of SimTK core methods, beyond those caused by mere improper API arguments, which should be reported with APIArgcheck instead.
More...
|
| ErrorCheck (const char *fn, int ln, const char *assertion, const char *whereChecked, const char *fmt...) |
|
virtual | ~ErrorCheck () throw () |
|
| 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 () |
|
This is for reporting errors occurring during execution of SimTK core methods, beyond those caused by mere improper API arguments, which should be reported with APIArgcheck instead.
Nor is this intended for detection of internal bugs; use Assert instead for that. It is expected that this error resulted from something the API user did, so the messages should be suitable for reporting to that programmer. The exception message accepts printf-style arguments and should contain lots of useful information for the API user. Don't throw this exception directly; use one of the family SimTK_ERRCHK and SimTK_ERRCHK_ALWAYS macros.
SimTK::Exception::ErrorCheck::ErrorCheck |
( |
const char * |
fn, |
|
|
int |
ln, |
|
|
const char * |
assertion, |
|
|
const char * |
whereChecked, |
|
|
const char * |
fmt... |
|
) |
| |
|
inline |
virtual SimTK::Exception::ErrorCheck::~ErrorCheck |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inlinevirtual |
The documentation for this class was generated from the following file: