linbox
Exceptions.

Exceptions in LinBox (proposal, example in algorithms/hermite.h). More...

Exceptions in LinBox (proposal, example in algorithms/hermite.h).

If the algorithms cannot return as expected, then an exception is thrown. Hopefully it is catched later on. Execptions, when thrown, don't write to any stream except in debug mode. However, they can explain what they are for with the const char *what(void) member.

Any exception derives from the LinBox::Exception class.