Gaudi Framework, version v23r4

Home   Generated: Mon Sep 17 2012

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 // ============================================================================
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Mon Sep 17 2012 13:49:34 for Gaudi Framework, version v23r4 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004