Assert Class Reference

This is for reporting internally-detected bugs only, not problems induced by confused users (that is, it is for confused developers instead). More...

#include <Exception.h>

Inheritance diagram for Assert:
Base

List of all members.

Public Member Functions

 Assert (const char *fn, int ln, const char *assertion, const char *fmt...)

Detailed Description

This is for reporting internally-detected bugs only, not problems induced by confused users (that is, it is for confused developers instead).

The exception message accepts printf-style arguments and should contain lots of useful information for developers. Don't throw this exception directly; use one of the family of SimTK_ASSERT and SimTK_ASSERT_ALWAYS macros.


Constructor & Destructor Documentation

Assert ( const char *  fn,
int  ln,
const char *  assertion,
const char *  fmt... 
) [inline]

References Base::setMessage().


The documentation for this class was generated from the following file:

Generated on Wed Dec 30 11:05:30 2009 for SimTKcore by  doxygen 1.6.1