0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / AppCont / AppCont_ContMatrices_1.cxx
index 99e5e20..0956cea 100644 (file)
@@ -414,7 +414,7 @@ static const Standard_Real IBP[] = {
 
 void IBPMatrix(const Standard_Integer classe, math_Matrix& IBPMa)
 {
-  if (classe > 26) Standard_DimensionError::Raise("IBPMatrix: classe > 26");
+  if (classe > 26) throw Standard_DimensionError("IBPMatrix: classe > 26");
 //  math_Matrix IBPMa(1, classe-2, 1, classe-2);
   Standard_Integer i, j, k = 0, Som = 0;
   for (i = 1; i < classe-2; i++) {