Handle errors thrown by InterfaceGeneralModel::setProperty.

If InterfaceGeneralModel::setProperty throw an exception, it will now be
assigned to the widget as validation error.