4 #ifndef ROOT_Math_GenVector_GenVector_exception 5 #define ROOT_Math_GenVector_GenVector_exception 1 24 class GenVector_exception;
25 void Throw(GenVector_exception &
e);
27 void Throw(
const char *);
34 :
public std::runtime_error
44 static bool EnableThrow() {
bool tmp = fgOn; fgOn =
true;
return tmp; }
45 static bool DisableThrow() {
bool tmp = fgOn; fgOn =
false;
return tmp; }
65 void Throw(
const char *);
72 #endif // GENVECTOR_EXCEPTION_H static bool DisableThrow()
GenVector_exception(const std::string &s)
Namespace for new ROOT classes and functions.
void Throw(const char *)
function throwing exception, by creating internally a GenVector_exception only when needed ...
void Throw(GenVector_exception &e)
throw explicity GenVector exceptions
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
Namespace for new Math classes and functions.
static bool EnableThrow()