adds WidgetException