summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/itmill/toolkit/terminal/gwt/client/UIDL.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/UIDL.java b/src/com/itmill/toolkit/terminal/gwt/client/UIDL.java
index d0235dfc4b..d40f29e388 100644
--- a/src/com/itmill/toolkit/terminal/gwt/client/UIDL.java
+++ b/src/com/itmill/toolkit/terminal/gwt/client/UIDL.java
@@ -84,8 +84,8 @@ public class UIDL {
return new XML(c.isObject());
else
throw new IllegalStateException(
- "Illegal child of type "
- + c.getClass().toString() + " in tag "
+ "Illegal child "
+ + c + " in tag "
+ getTag() + " at index " + index);
}
return null;