Public Member Functions | |
Error (string function="", string comment="") | |
Main constructor. More... | |
Error (string description, string function, string comment) | |
Alternative constructor. More... | |
virtual | ~Error () |
Destructor. More... | |
virtual string | What () |
Delivers information about the error. More... | |
void | CoutWhat () |
Delivers information about the error. More... | |
Protected Attributes | |
string | description_ |
Message describing the exception type. | |
string | function_ |
Name of the function in which the error occurred. | |
string | comment_ |
A comment about the error. | |
Definition at line 38 of file Errors.hxx.
Seldon::Error::Error | ( | string | function = "" , |
string | comment = "" |
||
) |
Main constructor.
Error associated with both a function and a comment.
function | function with which the error is associated. |
comment | comment associated with the error. |
Definition at line 43 of file Errors.cxx.
Seldon::Error::Error | ( | string | description, |
string | function, | ||
string | comment | ||
) |
Alternative constructor.
Error associated with a description, a function and a comment.
description | short description of the error. |
function | function with which the error is associated. |
comment | comment associated with the error. |
Definition at line 60 of file Errors.cxx.
|
virtual |
void Seldon::Error::CoutWhat | ( | ) |
Delivers information about the error.
Displays available information, i.e. the error description, the function and/or a comment.
Definition at line 106 of file Errors.cxx.
|
virtual |
Delivers information about the error.
Displays available information, i.e. the error description, the function and/or a comment.
Reimplemented in Seldon::LapackError, Seldon::WrongArgument, and Seldon::Undefined.
Definition at line 90 of file Errors.cxx.