| Index: lib/html/templates/html/impl/impl_Element.darttemplate
|
| diff --git a/lib/html/templates/html/impl/impl_Element.darttemplate b/lib/html/templates/html/impl/impl_Element.darttemplate
|
| index 3437c9e3f301565809c23887bc71155230b90400..2f4fefea5b2ce57c1aea1ae38e8684c6aa0ea140 100644
|
| --- a/lib/html/templates/html/impl/impl_Element.darttemplate
|
| +++ b/lib/html/templates/html/impl/impl_Element.darttemplate
|
| @@ -280,11 +280,11 @@ class _FrozenElementListIterator implements Iterator<Element> {
|
|
|
| /**
|
| * Gets the next element in the iteration. Throws a
|
| - * [NoMoreElementsException] if no element is left.
|
| + * [StateError("No more elements")] if no element is left.
|
| */
|
| Element next() {
|
| if (!hasNext) {
|
| - throw const NoMoreElementsException();
|
| + throw new StateError("No more elements");
|
| }
|
|
|
| return _list[_index++];
|
|
|