| # Gaudi Framework, version v21r8 |

Home |  | Generated: 17 Mar 2010

# Gaudi::details Namespace Reference

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

## 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.

    00033 {
    00034   throw GaudiException
    00035     ( "Out-of-Range for class Gaudi::Range_" , "RangeError", StatusCode::FAILURE ) ;
    00036 }