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

Unified Diff: corelib/src/implementation/future_implementation.dart

Issue 9359050: futures: add more types to chain/transform, some additional cleanup. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 | « corelib/src/future.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/implementation/future_implementation.dart
diff --git a/corelib/src/implementation/future_implementation.dart b/corelib/src/implementation/future_implementation.dart
index 48c7d405b7c0d58f31143d1268c6ac93c1d66a79..29bcbda7efda02937e6054ce5771d6dab85b9303 100644
--- a/corelib/src/implementation/future_implementation.dart
+++ b/corelib/src/implementation/future_implementation.dart
@@ -1,25 +1,6 @@
// Copyright 2011 Google Inc. All Rights Reserved.
// Dart core library.
-/**
- * Thrown if client tries to obtain value or exception
- * before a future has completed.
- */
-class FutureNotCompleteException implements Exception {
- FutureNotCompleteException() {}
- String toString() => "Exception: future has not been completed";
-}
-
-/**
- * Thrown if a completer tries to set the value on
- * a future that is already complete.
- */
-class FutureAlreadyCompleteException implements Exception {
- FutureAlreadyCompleteException() {}
- String toString() => "Exception: future already completed";
-}
-
-
class FutureImpl<T> implements Future<T> {
bool _isComplete;
« no previous file with comments | « corelib/src/future.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698