linbox
PreconditionFailed Class Reference

A precondition failed. More...

#include <debug.h>

Detailed Description

A precondition 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.


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