Replace Base::Exception with appropriate subclass

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

View File

@@ -89,7 +89,7 @@ bool getConstraintPrerequisits(Assembly::Product** Asm, Assembly::ConstraintGrou
*ConstGrp = getConstraintGroup(*Asm);
if(!*ConstGrp)
throw Base::Exception("Could not create Assembly::ConstraintGroup in active Assembly");
throw Base::RuntimeError("Could not create Assembly::ConstraintGroup in active Assembly");
// return with no error
return false;