Replace Base::Exception with appropriate subclass
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user