| # Gaudi Framework, version v22r0 |

Home |  | Generated: 9 Feb 2011

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines