28 excString_(excString), line_(line), file_(file), fatal_(false) {
29 std::ostringstream ErrMsgStream;
30 ErrMsgStream <<
"genfit::Exception thrown with excString:"
32 <<
"in line: " <<
line_ <<
" in file: " <<
file_ << std::endl
33 <<
"with fatal flag " <<
fatal_ << std::endl;
41 const std::vector<double>& _numbers) {
47 const std::vector<TMatrixD>& _matrices) {
59 debugOut <<
"genfit::Exception Info Output" << std::endl;
60 debugOut <<
"===========================" << std::endl;
62 debugOut <<
"Numbers Label String:" << std::endl;
66 debugOut <<
"---------------------------" << std::endl;
71 debugOut <<
"---------------------------" << std::endl;
72 debugOut <<
"Matrices Label String:" << std::endl;
76 debugOut <<
"---------------------------" << std::endl;
77 debugOut <<
"Matrices:" << std::endl;
80 debugOut <<
"===========================" << std::endl;
std::vector< TMatrixD > matrices_
virtual const char * what() const
Standard error message handling for exceptions. use like "std::cerr << e.what();".
std::string matricesLabel_
void info()
Print information in the exception object.
std::string errorMessage_
void setMatrices(std::string, const std::vector< TMatrixD > &)
Set list of matrices with description.
std::string numbersLabel_
void setNumbers(std::string, const std::vector< double > &)
Set list of numbers with description.
Exception(std::string excString, int line, std::string file)
Initializing constructor.
std::vector< double > numbers_
Defines for I/O streams used for error and debug printing.