The Gaudi Framework
v26r1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
Range.cpp
Go to the documentation of this file.
1
// ============================================================================
2
// Include files
3
// ============================================================================
4
// GauduKernel
5
// ============================================================================
6
#include "GaudiKernel/GaudiException.h"
7
#include "GaudiKernel/Range.h"
8
// ============================================================================
24
// ============================================================================
25
/* Helpful function to throw an out-of-range exception for class Range_
26
* @param index invalid index
27
* @param size range size
28
*/
29
// ============================================================================
30
void
Gaudi::details::rangeException
31
(
const
long
/* index */
,
32
const
size_t
/* size */
)
33
{
34
throw
GaudiException
35
(
"Out-of-Range for class Gaudi::Range_"
,
"RangeError"
,
StatusCode::FAILURE
) ;
36
}
37
// ============================================================================
38
// The END
39
// ============================================================================
GaudiKernel
src
Lib
Range.cpp
Generated on Mon Feb 16 2015 11:56:56 for The Gaudi Framework by
1.8.2