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); |