Gaudi Framework, version v21r10p1

Home   Generated: 29 Jul 2010

Range.cpp

Go to the documentation of this file.
00001 // ============================================================================
00002 // Include files
00003 // ============================================================================
00004 // GauduKernel
00005 // ============================================================================
00006 #include "GaudiKernel/GaudiException.h"
00007 #include "GaudiKernel/Range.h"
00008 // ============================================================================
00024 // ============================================================================
00025 /*  Helpful function to throw an out-of-range exception for class Range_
00026  *  @param index invalid index
00027  *  @param size  range size
00028  */
00029 // ============================================================================
00030 void Gaudi::details::rangeException
00031 ( const long   /* index */ ,
00032   const size_t /* size  */ )
00033 {
00034   throw GaudiException
00035     ( "Out-of-Range for class Gaudi::Range_" , "RangeError", StatusCode::FAILURE ) ;
00036 }
00037 // ============================================================================
00038 // The END
00039 // ============================================================================

Generated at Thu Jul 29 10:12:49 2010 for Gaudi Framework, version v21r10p1 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004