ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
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
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