A precondtion failed.
More...
#include <debug.h>
A precondtion failed.
The throw mechanism is usually used here as in
if (!check)
Failure & failure()
Definition debug.h:174
bool test_impl()
Definition test-simd.C:809
The parameters of the constructor help debugging.
◆ Failure()
◆ operator()() [1/2]
A precondtion failed.
- Parameters
-
| function | usually __func__, the function that threw the error |
| line | usually __LINE__, the line where it happened |
| check | a string telling what failed. |
◆ operator()() [2/2]
A precondtion failed. The parameter help debugging. This is not much different from the previous except we can digg faster in the file where the exception was triggered.
- Parameters
-
| function | usually __func__, the function that threw the error |
| file | usually __FILE__, the file where this function is |
| line | usually __LINE__, the line where it happened |
| check | a string telling what failed. |
◆ setErrorStream()
| void setErrorStream |
( |
std::ostream & |
stream | ) |
|
◆ print()
| std::ostream & print |
( |
std::ostream & |
o | ) |
const |
|
inline |
overload the virtual print of LinboxError.
- Parameters
-
◆ _errorStream
| std::ostream* _errorStream |
|
protected |
The documentation for this class was generated from the following file: