The Gaudi Framework
master (82fdf313)
Loading...
Searching...
No Matches
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
29
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
Range.h
This file has been imported from LoKi project "C++ ToolKit for Smart and Friendly Physics Analysis"
GaudiException
Define general base for Gaudi exception.
Definition
GaudiException.h:29
StatusCode::FAILURE
constexpr static const auto FAILURE
Definition
StatusCode.h:100
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
GaudiKernel
src
Lib
Range.cpp
Generated on Thu Oct 2 2025 15:31:11 for The Gaudi Framework by
1.13.1