Replace Base::Exception with appropriate subclass

This commit is contained in:
wmayer
2018-11-14 17:23:48 +01:00
parent 560b415f19
commit 9d80db2793
3 changed files with 4 additions and 4 deletions

View File

@@ -317,7 +317,7 @@ Mesh::MeshObject* Mesher::createMesh() const
}
#ifndef HAVE_SMESH
throw Base::Exception("SMESH is not available on this platform");
throw Base::RuntimeError("SMESH is not available on this platform");
#else
std::list<SMESH_Hypothesis*> hypoth;