Replace Base::Exception with appropriate subclass

This commit is contained in:
wmayer
2018-11-14 17:47:43 +01:00
parent c5a5eb6a83
commit f9e487e4b2
7 changed files with 12 additions and 12 deletions

View File

@@ -255,7 +255,7 @@ App::DocumentObjectExecReturn *Edge2TracObject::execute(void)
}
default:
throw Base::Exception("Unknown Edge type in Robot::Edge2TracObject::execute()");
throw Base::TypeError("Unknown Edge type in Robot::Edge2TracObject::execute()");
}