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

Unified Diff: runtime/bin/http_impl.dart

Issue 10389017: Add Exception to the class name for recently added exception classes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 | « runtime/bin/http.dart ('k') | tests/standalone/io/http_redirect_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/http_impl.dart
diff --git a/runtime/bin/http_impl.dart b/runtime/bin/http_impl.dart
index ffe4563615fc3f88ff4147d34a447c44f1642841..f92da5bdd3f5306e39d748f15b48e3b11ffb041b 100644
--- a/runtime/bin/http_impl.dart
+++ b/runtime/bin/http_impl.dart
@@ -1193,7 +1193,7 @@ class _HttpClientResponse
for (int i = 0; i < _connection._redirects.length; i++) {
if (_connection._redirects[i].location.toString() ==
redirectUrl.toString()) {
- throw new RedirectLoop(_connection._redirects);
+ throw new RedirectLoopException(_connection._redirects);
}
}
}
@@ -1201,7 +1201,7 @@ class _HttpClientResponse
inputStream.onData = inputStream.read;
inputStream.onClosed = _connection.redirect;
} else {
- throw new RedirectLimitExceeded(_connection._redirects);
+ throw new RedirectLimitExceededException(_connection._redirects);
}
} else if (_connection._onResponse != null) {
_connection._onResponse(this);
« no previous file with comments | « runtime/bin/http.dart ('k') | tests/standalone/io/http_redirect_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698