use specialized exception classes

This commit is contained in:
wmayer
2017-04-28 18:49:11 +02:00
parent 998c000516
commit fb7094bf31
60 changed files with 675 additions and 349 deletions

View File

@@ -88,7 +88,7 @@ void ViewProviderExtern::setModeByFile(const char* name, const char* ivFileName)
}
file.close();
in.setBuffer(&(content[0]),content.size());
in.setBuffer(&(content[0]),content.size());
setModeBySoInput(name,in);
}
}
@@ -113,7 +113,7 @@ void ViewProviderExtern::setModeBySoInput(const char* name, SoInput &ivFileInput
}
}
else {
throw Base::Exception("No valid Inventor input");
throw Base::RuntimeError("No valid Inventor input");
}
return;