| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Namespace List
- Namespace Members

Functions
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_. 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

  index | invalid index
  size | range 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 }
GaudiException
Define general base for Gaudi exception.
Definition: GaudiException.h:23
StatusCode::FAILURE
Definition: StatusCode.h:29