From 10bc4dc98c164330589595f67f120f10f4bf0dad Mon Sep 17 00:00:00 2001 From: dooglus Date: Fri, 28 Dec 2007 15:46:30 +0000 Subject: [PATCH] Be more explicit about the exception that is raised when constructing the application. git-svn-id: http://svn.voria.com/code@1241 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/app.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/synfig-studio/trunk/src/gtkmm/app.cpp b/synfig-studio/trunk/src/gtkmm/app.cpp index cc19fbe..b9b0f86 100644 --- a/synfig-studio/trunk/src/gtkmm/app.cpp +++ b/synfig-studio/trunk/src/gtkmm/app.cpp @@ -1200,6 +1200,10 @@ App::App(int *argc, char ***argv): toolbox->present(); } + catch(String x) + { + get_ui_interface()->error(_("Unknown exception caught when constructing App.\nThis software may be unstable.") + String("\n\n") + x); + } catch(...) { get_ui_interface()->error(_("Unknown exception caught when constructing App.\nThis software may be unstable.")); -- 2.7.4