The Gaudi Framework
v40r0 (475e45c1)
Range.cpp
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#include <
GaudiKernel/GaudiException.h
>
12
#include <
GaudiKernel/Range.h
>
13
30
void
Gaudi::details::rangeException
(
const
long
/* index */
,
const
size_t
/* size */
) {
31
throw
GaudiException
(
"Out-of-Range for class Gaudi::Range_"
,
"RangeError"
,
StatusCode::FAILURE
);
32
}
GaudiException.h
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
Definition:
GaudiException.h:29
Range.h
StatusCode::FAILURE
constexpr static const auto FAILURE
Definition:
StatusCode.h:100
GaudiKernel
src
Lib
Range.cpp
Generated on Thu Jul 3 2025 15:27:25 for The Gaudi Framework by
1.8.18