The Gaudi Framework  v30r3 (a5ef0a68)
Gaudi::details Namespace Reference

Classes

struct  container
 helper structure to get container type More...
 
struct  overloaded_t
 
struct  overloaded_t< lambda_t >
 
struct  overloaded_t< lambda_t, more_lambda_ts... >
 

Functions

GAUDI_API void rangeException (const long index, const size_t size)
 Helpful function to throw an "out-of-range exception" for class Range_. More...
 

Function Documentation

void Gaudi::details::rangeException ( const long  index,
const size_t  size 
)

Helpful function to throw an "out-of-range exception" for class Range_.

See also
GaudiException
Parameters
indexinvalid index
sizerange size

Definition at line 30 of file Range.cpp.

31 {
32  throw GaudiException( "Out-of-Range for class Gaudi::Range_", "RangeError", StatusCode::FAILURE );
33 }
constexpr static const auto FAILURE
Definition: StatusCode.h:88
Define general base for Gaudi exception.