Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(524)

Unified Diff: lib/core/iterator.dart

Issue 11269045: Convert NoMoreElementsException and EmptyQueueException to StateError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/core/exceptions.dart ('k') | lib/core/queue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/iterator.dart
diff --git a/lib/core/iterator.dart b/lib/core/iterator.dart
index 4e3000d87648adce3064c508ed85e4f00abc7b68..2e324f6a9b26ead8b7d201a25dfc34f52855ebba 100644
--- a/lib/core/iterator.dart
+++ b/lib/core/iterator.dart
@@ -13,7 +13,7 @@
abstract class Iterator<E> {
/**
* Gets the next element in the iteration. Throws a
- * [NoMoreElementsException] if no element is left.
+ * [StateError] if no element is left.
*/
E next();
« no previous file with comments | « lib/core/exceptions.dart ('k') | lib/core/queue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698