All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Gaudi::details Namespace Reference

Functions

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

Function Documentation

GAUDI_API 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 31 of file Range.cpp.

{
( "Out-of-Range for class Gaudi::Range_" , "RangeError", StatusCode::FAILURE ) ;
}