use specialized exception classes
This commit is contained in:
@@ -1747,7 +1747,7 @@ Document::getDependencyList(const std::vector<App::DocumentObject*>& objs) const
|
||||
std::stringstream ss;
|
||||
ss << "Gathering all dependencies failed, probably due to circular dependencies. Error: ";
|
||||
ss << e.what();
|
||||
throw Base::Exception(ss.str().c_str());
|
||||
throw Base::RuntimeError(ss.str().c_str());
|
||||
}
|
||||
|
||||
std::set<Vertex> out;
|
||||
|
||||
Reference in New Issue
Block a user