Replace Base::Exception with appropriate subclass

This commit is contained in:
wmayer
2018-11-14 17:47:43 +01:00
parent d11bfed7c6
commit cda4c96fa8
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()");
}