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

Unified Diff: runtime/bin/input_stream.dart

Issue 10173024: Change the error handling in dart:io (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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_impl.dart ('k') | runtime/bin/list_stream_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/input_stream.dart
diff --git a/runtime/bin/input_stream.dart b/runtime/bin/input_stream.dart
index 31eb51ab6f7ab6a2628052d07a5d7068bf256520..a7d342a6295c0546a4ccf0fd22a17dcd5f157c37 100644
--- a/runtime/bin/input_stream.dart
+++ b/runtime/bin/input_stream.dart
@@ -95,7 +95,7 @@ interface InputStream {
* Sets the handler that gets called when the underlying
* communication channel gets into some kind of error situation.
*/
- void set onError(void callback(Exception e));
+ void set onError(void callback(e));
}
@@ -182,7 +182,7 @@ interface StringInputStream default _StringInputStream {
* Sets the handler that gets called when the underlying
* communication channel gets into some kind of error situation.
*/
- void set onError(void callback(Exception e));
+ void set onError(void callback(e));
}
@@ -237,7 +237,7 @@ interface ChunkedInputStream default _ChunkedInputStream {
* Sets the handler that gets called when the underlying
* communication channel gets into some kind of error situation.
*/
- void set onError(void callback(Exception e));
+ void set onError(void callback(e));
}
« no previous file with comments | « runtime/bin/http_impl.dart ('k') | runtime/bin/list_stream_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698