]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixes #3607
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 28 Dec 2009 13:44:17 +0000 (13:44 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 28 Dec 2009 13:44:17 +0000 (13:44 +0000)
svn changeset:10557/svn branch:6.2

src/com/vaadin/ui/AbstractComponent.java

index 68910bb686c120a9d003985be6f26b5fd84b37bf..247354ccc92ac7ac4f015590a0aa195fd9064a88 100644 (file)
@@ -521,7 +521,8 @@ public abstract class AbstractComponent implements Component, MethodEventSource
         }
 
         if (parent != null && this.parent != null) {
-            throw new IllegalStateException("Component already has a parent.");
+            throw new IllegalStateException(getClass().getName()
+                    + " already has a parent.");
         }
 
         // Send detach event if the component have been connected to a window