Gaudi::details Namespace Reference

Classes

struct  _container
 
struct  _container< CONTAINER, false >
 
struct  _container< CONTAINER, true >
 
struct  _has_typename_container_
 
struct  container
 helper structure to get container type More...
 
class  index_iterator
 "index" iterator iterates ober "indiced" intries in the cotainer/range More...
 
class  masked_iterator
 "masked" iterator iterates ober "masked" intries in the cotainner/range More...
 

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

33 {
34  throw GaudiException
35  ( "Out-of-Range for class Gaudi::Range_" , "RangeError", StatusCode::FAILURE ) ;
36 }
Define general base for Gaudi exception.