Replace Base::Exception with appropriate subclass

This commit is contained in:
wmayer
2018-11-14 17:11:53 +01:00
parent 66b889044b
commit e22ab44e61
8 changed files with 20 additions and 20 deletions

View File

@@ -230,7 +230,7 @@ static PyObject * tesselateShape(PyObject *self, PyObject *args)
// if the triangulation of only one face is not possible to get
else
{
throw Base::Exception("Empty face triangulation\n");
throw Base::RuntimeError("Empty face triangulation\n");
}
}
// finish FreeCAD Mesh Builder and exit with new mesh