Gaudi Framework, version v20r4

Generated: 8 Jan 2009

Range.cpp

Go to the documentation of this file.
00001 // $Id: Range.cpp,v 1.1 2008/10/10 08:06:32 marcocle Exp $
00002 // ============================================================================
00003 // Include files
00004 // ============================================================================
00005 // GauduKernel
00006 // ============================================================================
00007 #include "GaudiKernel/GaudiException.h"
00008 // ============================================================================
00009 // GaudiUtils 
00010 // ============================================================================
00011 #include "GaudiUtils/Range.h"
00012 // ============================================================================
00028 // ============================================================================
00029 /*  Helpful function to throw an out-of-range exception for class Range_
00030  *  @param index invalid index
00031  *  @param size  range size 
00032  */
00033 // ============================================================================
00034 void Gaudi::details::rangeException
00035 ( const long   /* index */ , 
00036   const size_t /* size  */ )
00037 {
00038   throw GaudiException 
00039     ( "Out-of-Range for class Gaudi::Range_" , "RangeError", StatusCode::FAILURE ) ;
00040 }
00041 // ============================================================================
00042 // The END 
00043 // ============================================================================

Generated at Thu Jan 8 17:44:24 2009 for Gaudi Framework, version v20r4 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004