#include <Assert.hxx>
Don't throw it directly, use the assertion macro Assert instead because the Assert macro is sensible to the compilation conditions. Neither do any explicit declaration that this exception can be thrown from a function as you would have to do with any other exception. See the Error Notification Mechanisms documentation.
Definition at line 215 of file Assert.hxx.
Public Member Functions | |
ErrAssertionFailed (const char *message, const char *filename, int linenumber) | |
virtual | ~ErrAssertionFailed () throw () |
Static Public Attributes | |
static bool | breakpointInCLAMAssertEnabled = true |
this bool is used for automatic-tesing CLAM asserts. |
CLAM::ErrAssertionFailed::ErrAssertionFailed | ( | const char * | message, | |
const char * | filename, | |||
int | linenumber | |||
) |
Definition at line 94 of file Assert.cxx.
References breakpointInCLAMAssertEnabled, and CLAM::CurrentAssertFailedHandler.
virtual CLAM::ErrAssertionFailed::~ErrAssertionFailed | ( | ) | throw () [inline, virtual] |
Definition at line 224 of file Assert.hxx.
bool CLAM::ErrAssertionFailed::breakpointInCLAMAssertEnabled = true [static] |
this bool is used for automatic-tesing CLAM asserts.
by default is defined to true. But can be set to false where we want to test that a CLAM_ASSERT has occurred.
Definition at line 221 of file Assert.hxx.
Referenced by ErrAssertionFailed().