Replace Base::Exception with appropriate subclass

This commit is contained in:
wmayer
2018-11-14 19:42:10 +01:00
parent 7acdb56d92
commit b0247d184e
16 changed files with 41 additions and 41 deletions

View File

@@ -128,7 +128,7 @@ void QGISVGTemplate::draw()
{
TechDraw::DrawSVGTemplate *tmplte = getSVGTemplate();
if(!tmplte)
throw Base::Exception("Template Feature not set for QGISVGTemplate");
throw Base::RuntimeError("Template Feature not set for QGISVGTemplate");
load(QString::fromUtf8(tmplte->PageResult.getValue()));
}