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