| # Gaudi Framework, version v21r7 |

Home |  | Generated: 22 Jan 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 }