Logo ROOT   6.14/05
Reference Guide
GenVector_exception.cxx
Go to the documentation of this file.
1 // @(#)root/mathcore:$Id$
2 // Authors: W. Brown, M. Fischler, L. Moneta 2005
3 
4  /**********************************************************************
5  * *
6  * Copyright (c) 2005 , LCG ROOT FNAL MathLib Team *
7  * *
8  * *
9  **********************************************************************/
10 
11 //
12 // Created by: Mark Fischler Tues July 19 2005
13 //
14 
16 
17 namespace ROOT {
18 namespace Math {
19 bool GenVector_exception::fgOn = false;
20 
21 void Throw(GenVector_exception & e) { if (GenVector_exception::fgOn) throw e; }
22 
23 
24 void GenVector::Throw(const char * s) {
25  if (!GenVector_exception::fgOn) return;
27  throw e;
28 }
29 
30 
31 
32 } // namespace Math
33 } // namespace ROOT
Namespace for new ROOT classes and functions.
Definition: StringConv.hxx:21
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
static constexpr double s
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
Definition: TRolke.cxx:630
Namespace for new Math classes and functions.