]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixes #3974, logging error/warning instead of throwing runtime exception
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 11 Jan 2010 14:16:07 +0000 (14:16 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 11 Jan 2010 14:16:07 +0000 (14:16 +0000)
svn changeset:10678/svn branch:6.2

src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java

index 470045154322ad0d010e8ef6fc482baa64c76fb3..4ea806e29e3c93655118a811f8908e72243617d1 100644 (file)
@@ -158,9 +158,8 @@ public class ApplicationConfiguration {
             // Something went wrong: multiple widgetsets inited
             String msg = "Tried to init " + widgetset.getClass().getName()
                     + ", but " + initedWidgetSet.getClass().getName()
-                    + " is already inited.";
-            System.err.println(msg);
-            throw new IllegalStateException(msg);
+                    + " was already inited.";
+            ApplicationConnection.getConsole().log(msg);
         }
         initedWidgetSet = widgetset;
         ArrayList<String> appIds = new ArrayList<String>();