23#ifndef genfit_Exception_h
24#define genfit_Exception_h
57 Exception(std::string excString,
int line, std::string file);
65 void setNumbers (std::string,
const std::vector<double>&);
67 void setMatrices(std::string,
const std::vector<TMatrixD>&);
73 virtual const char*
what()
const throw();
Exception class for error handling in GENFIT (provides storage for diagnostic information)
bool isFatal()
Get fatal flag.
void setFatal(bool b=true)
Set fatal flag.
void setNumbers(std::string, const std::vector< double > &)
Set list of numbers with description.
std::vector< TMatrixD > matrices_
std::string matricesLabel_
std::string errorMessage_
virtual const char * what() const
Standard error message handling for exceptions. use like "std::cerr << e.what();".
void setMatrices(std::string, const std::vector< TMatrixD > &)
Set list of matrices with description.
std::string getExcString()
std::vector< double > numbers_
static void quiet(bool b=true)
"std::cerr << e.what();" will not write anything.
std::string numbersLabel_
void info()
Print information in the exception object.