Replace Base::Exception with appropriate subclass
This commit is contained in:
@@ -84,7 +84,7 @@ Part::Feature *DressUp::getBaseObject(bool silent) const
|
||||
}
|
||||
|
||||
if (!silent && err) {
|
||||
throw Base::Exception(err);
|
||||
throw Base::RuntimeError(err);
|
||||
}
|
||||
|
||||
return rv;
|
||||
|
||||
Reference in New Issue
Block a user