linbox
|
A precondtion failed. More...
#include <debug.h>
A precondtion failed.
The throw
mechanism is usually used here as in
if (!check) throw(PreconditionFailed(__func__,__LINE__,"this check just failed");
The parameters of the constructor help debugging.