The Gaudi Framework
v30r3 (a5ef0a68)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Range.cpp
Go to the documentation of this file.
1
// ============================================================================
2
// Include files
3
// ============================================================================
4
// GauduKernel
5
// ============================================================================
6
#include "
GaudiKernel/Range.h
"
7
#include "
GaudiKernel/GaudiException.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
(
const
long
/* index */
,
const
size_t
/* size */
)
31
{
32
throw
GaudiException
(
"Out-of-Range for class Gaudi::Range_"
,
"RangeError"
,
StatusCode::FAILURE
);
33
}
34
// ============================================================================
35
// The END
36
// ============================================================================
StatusCode::FAILURE
constexpr static const auto FAILURE
Definition:
StatusCode.h:88
GaudiException
Define general base for Gaudi exception.
Definition:
GaudiException.h:22
Gaudi::details::rangeException
GAUDI_API void rangeException(const long index, const size_t size)
Helpful function to throw an "out-of-range exception" for class Range_.
Definition:
Range.cpp:30
GaudiException.h
Range.h
This file has been imported from LoKi project "C++ ToolKit for Smart and Friendly Physics Analysis" ...
GaudiKernel
src
Lib
Range.cpp
Generated on Wed Aug 1 2018 23:21:10 for The Gaudi Framework by
1.8.11