23 GFException::GFException(std::string _excString,
int _line, std::string _file) : fExcString(_excString), fLine(_line), fFile(_file),fFatal(false) {
24 std::ostringstream ErrMsgStream;
25 ErrMsgStream <<
"GFException thrown with excString:"
27 <<
"in line: " <<
fLine <<
" in file: " <<
fFile << std::endl
28 <<
"with fatal flag " <<
fFatal << std::endl;
36 const std::vector<double>& _numbers) {
42 const std::vector< TMatrixT<double> >& _matrices) {
55 std::cout <<
"GFException Info Output" << std::endl;
56 std::cout <<
"===========================" << std::endl;
58 std::cout <<
"Numbers Label String:" << std::endl;
62 std::cout <<
"---------------------------" << std::endl;
63 std::cout <<
"Numbers:" << std::endl;
67 std::cout <<
"---------------------------" << std::endl;
68 std::cout <<
"Matrices Label String:" << std::endl;
72 std::cout <<
"---------------------------" << std::endl;
73 std::cout <<
"Matrices:" << std::endl;
76 std::cout <<
"===========================" << std::endl;
std::string fNumbersLabel
virtual const char * what() const
standard error message handling for exceptions. use like "std::cerr << e.what();" ...
std::string fMatricesLabel
std::vector< TMatrixT< double > > fMatrices
void setNumbers(std::string, const std::vector< double > &)
set list of numbers with description
std::string fErrorMessage
void setMatrices(std::string, const std::vector< TMatrixT< double > > &)
set list of matrices with description
void info()
print information in the exception object
GFException(std::string, int, std::string)
Initializing constructor.
std::vector< double > fNumbers