|
Gaudi Framework, version v22r0 |
| Home | Generated: 9 Feb 2011 |
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 // ============================================================================