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

Unified Diff: lib/core/exceptions.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/errors.dart ('k') | lib/core/iterator.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/exceptions.dart
diff --git a/lib/core/exceptions.dart b/lib/core/exceptions.dart
index c09edb592ac01bf3956a48cd0b69342a28487e53..c1774ef1f139d4f821ba6bc882c0eeb9eacaff24 100644
--- a/lib/core/exceptions.dart
+++ b/lib/core/exceptions.dart
@@ -73,18 +73,6 @@ class NullPointerException implements Exception {
}
-class NoMoreElementsException implements Exception {
- const NoMoreElementsException();
- String toString() => "NoMoreElementsException";
-}
-
-
-class EmptyQueueException implements Exception {
- const EmptyQueueException();
- String toString() => "EmptyQueueException";
-}
-
-
class NotImplementedException implements Exception {
const NotImplementedException([String message]) : this._message = message;
String toString() => (this._message !== null
« no previous file with comments | « lib/core/errors.dart ('k') | lib/core/iterator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698