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\***********************************************************************************/
12#include <GaudiKernel/Range.h>
13
29
30void Gaudi::details::rangeException( const long /* index */, const size_t /* size */ ) {
31 throw GaudiException( "Out-of-Range for class Gaudi::Range_", "RangeError", StatusCode::FAILURE );
32}
This file has been imported from LoKi project "C++ ToolKit for Smart and Friendly Physics Analysis"
Define general base for Gaudi exception.
constexpr static const auto FAILURE
Definition StatusCode.h:100
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