Warning, file /include/opencascade/Standard_DivideByZero.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _Standard_DivideByZero_HeaderFile
0018 #define _Standard_DivideByZero_HeaderFile
0019
0020 #include <Standard_Type.hxx>
0021 #include <Standard_DefineException.hxx>
0022 #include <Standard_SStream.hxx>
0023 #include <Standard_NumericError.hxx>
0024
0025 class Standard_DivideByZero;
0026 DEFINE_STANDARD_HANDLE(Standard_DivideByZero, Standard_NumericError)
0027
0028 #if !defined No_Exception && !defined No_Standard_DivideByZero
0029 #define Standard_DivideByZero_Raise_if(CONDITION, MESSAGE) \
0030 if (CONDITION) throw Standard_DivideByZero(MESSAGE);
0031 #else
0032 #define Standard_DivideByZero_Raise_if(CONDITION, MESSAGE)
0033 #endif
0034
0035 DEFINE_STANDARD_EXCEPTION(Standard_DivideByZero, Standard_NumericError)
0036
0037 #endif