prepare for PyCXX 7.0
This commit is contained in:
@@ -144,8 +144,7 @@ void PointPy::setX(Py::Float X)
|
||||
this_point->SetX(double(X));
|
||||
}
|
||||
catch (Standard_Failure& e) {
|
||||
|
||||
throw Py::Exception(e.GetMessageString());
|
||||
throw Py::RuntimeError(e.GetMessageString());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -165,8 +164,7 @@ void PointPy::setY(Py::Float Y)
|
||||
this_point->SetY(double(Y));
|
||||
}
|
||||
catch (Standard_Failure& e) {
|
||||
|
||||
throw Py::Exception(e.GetMessageString());
|
||||
throw Py::RuntimeError(e.GetMessageString());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -186,8 +184,7 @@ void PointPy::setZ(Py::Float Z)
|
||||
this_point->SetZ(double(Z));
|
||||
}
|
||||
catch (Standard_Failure& e) {
|
||||
|
||||
throw Py::Exception(e.GetMessageString());
|
||||
throw Py::RuntimeError(e.GetMessageString());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user