Exception class for error handling in GENFIT (provides storage for diagnostic information) More...
#include <GFException.h>
Public Member Functions | |
| GFException (std::string, int, std::string) | |
| Initializing constructor. More... | |
| virtual | ~GFException () throw () |
| GFException & | setFatal (bool b=true) |
| set fatal flag. if this is true, the fit stops for this current track repr. More... | |
| bool | isFatal () |
| get fatal flag. More... | |
| GFException & | setNumbers (std::string, const std::vector< double > &) |
| set list of numbers with description More... | |
| GFException & | setMatrices (std::string, const std::vector< TMatrixT< Double_t > > &) |
| set list of matrices with description More... | |
| void | info () |
| print information in the exception object More... | |
| virtual const char * | what () const throw () |
| standard error message handling for exceptions. use like "std::cerr << e.what();" More... | |
| std::string | getExcString () |
Static Public Member Functions | |
| static void | quiet (bool b=true) |
Private Attributes | |
| std::string | fExcString |
| int | fLine |
| std::string | fFile |
| std::string | fNumbersLabel |
| std::string | fMatricesLabel |
| std::vector< double > | fNumbers |
| std::vector< TMatrixT< Double_t > > | fMatrices |
| bool | fFatal |
Static Private Attributes | |
| static bool | fQuiet = false |
Exception class for error handling in GENFIT (provides storage for diagnostic information)
This is the class that is used for all error handling in GENFIT. It is a utility class that allows to store numbers and matrices together with an error string. The exception class can then be thrown when an error is detected and the C++ exception handling facilities can be used to catch and process the exception.
Definition at line 48 of file GFException.h.
| GFException::GFException | ( | std::string | _excString, |
| int | _line, | ||
| std::string | _file | ||
| ) |
Initializing constructor.
| what | error message |
| line | line at which the exception is created. Can be set through LINE macro |
| file | sorcefile in which the exception is created. Can be set through FILE macro |
Definition at line 28 of file GFException.cxx.
|
virtual | |||||||||||||
Definition at line 31 of file GFException.cxx.
|
inline |
Definition at line 92 of file GFException.h.
| void GFException::info | ( | ) |
|
inline |
|
inlinestatic |
Definition at line 94 of file GFException.h.
|
inline |
set fatal flag. if this is true, the fit stops for this current track repr.
Definition at line 78 of file GFException.h.
| GFException & GFException::setMatrices | ( | std::string | _matricesLabel, |
| const std::vector< TMatrixT< Double_t > > & | _matrices | ||
| ) |
| GFException & GFException::setNumbers | ( | std::string | _numbersLabel, |
| const std::vector< double > & | _numbers | ||
| ) |
|
virtual | |||||||||||||
standard error message handling for exceptions. use like "std::cerr << e.what();"
Definition at line 48 of file GFException.cxx.
|
private |
Definition at line 54 of file GFException.h.
|
private |
Definition at line 63 of file GFException.h.
|
private |
Definition at line 56 of file GFException.h.
|
private |
Definition at line 55 of file GFException.h.
|
private |
Definition at line 61 of file GFException.h.
|
private |
Definition at line 59 of file GFException.h.
|
private |
Definition at line 60 of file GFException.h.
|
private |
Definition at line 58 of file GFException.h.
|
staticprivate |
Definition at line 52 of file GFException.h.
1.8.5