File indexing completed on 2024-11-15 09:48:07
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef _OSD_Exception_ARRAY_BOUNDS_EXCEEDED_HeaderFile
0016 #define _OSD_Exception_ARRAY_BOUNDS_EXCEEDED_HeaderFile
0017
0018 #include <Standard_Type.hxx>
0019 #include <Standard_DefineException.hxx>
0020 #include <Standard_SStream.hxx>
0021 #include <OSD_Exception.hxx>
0022
0023 class OSD_Exception_ARRAY_BOUNDS_EXCEEDED;
0024 DEFINE_STANDARD_HANDLE(OSD_Exception_ARRAY_BOUNDS_EXCEEDED, OSD_Exception)
0025
0026 #if !defined No_Exception && !defined No_OSD_Exception_ARRAY_BOUNDS_EXCEEDED
0027 #define OSD_Exception_ARRAY_BOUNDS_EXCEEDED_Raise_if(CONDITION, MESSAGE) \
0028 if (CONDITION) throw OSD_Exception_ARRAY_BOUNDS_EXCEEDED(MESSAGE);
0029 #else
0030 #define OSD_Exception_ARRAY_BOUNDS_EXCEEDED_Raise_if(CONDITION, MESSAGE)
0031 #endif
0032
0033 DEFINE_STANDARD_EXCEPTION(OSD_Exception_ARRAY_BOUNDS_EXCEEDED, OSD_Exception)
0034
0035 #endif