File indexing completed on 2025-01-18 10:02:58
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _Aspect_GraphicDeviceDefinitionError_HeaderFile
0017 #define _Aspect_GraphicDeviceDefinitionError_HeaderFile
0018
0019 #include <Standard_Type.hxx>
0020 #include <Standard_DefineException.hxx>
0021 #include <Standard_SStream.hxx>
0022 #include <Standard_OutOfRange.hxx>
0023
0024 class Aspect_GraphicDeviceDefinitionError;
0025 DEFINE_STANDARD_HANDLE(Aspect_GraphicDeviceDefinitionError, Standard_OutOfRange)
0026
0027 #if !defined No_Exception && !defined No_Aspect_GraphicDeviceDefinitionError
0028 #define Aspect_GraphicDeviceDefinitionError_Raise_if(CONDITION, MESSAGE) \
0029 if (CONDITION) throw Aspect_GraphicDeviceDefinitionError(MESSAGE);
0030 #else
0031 #define Aspect_GraphicDeviceDefinitionError_Raise_if(CONDITION, MESSAGE)
0032 #endif
0033
0034 DEFINE_STANDARD_EXCEPTION(Aspect_GraphicDeviceDefinitionError, Standard_OutOfRange)
0035
0036 #endif