Index: lib/dom.dart |
diff --git a/lib/dom.dart b/lib/dom.dart |
index 29d525f18788da981f745e219e2703cd4ead2f7c..ad6aab1e368adf8f4793d983083653bbb7f40ebf 100644 |
--- a/lib/dom.dart |
+++ b/lib/dom.dart |
@@ -485,8 +485,7 @@ class NodeList extends ListProxy<Node> { |
throw new ArgumentError('cannot add null node.'); |
} |
if (rangeLength > 1) { |
- throw new UnsupportedOperationException('cannot add the same node ' |
- 'multiple times.'); |
+ throw new UnsupportedError('cannot add the same node multiple times.'); |
} |
super.insertRange(start, 1, _setParent(initialValue)); |
} |