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

Unified Diff: runtime/bin/file.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/directory_impl.dart ('k') | runtime/bin/file_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file.dart
diff --git a/runtime/bin/file.dart b/runtime/bin/file.dart
index 787e4b8f99f94829494a74b90ebab7b2f1e593c6..963660b7a4ff51b87442cda0594775595fea3a55 100644
--- a/runtime/bin/file.dart
+++ b/runtime/bin/file.dart
@@ -217,7 +217,7 @@ interface File default _File {
* Sets the handler that gets called when errors occur during
* operations on this file.
*/
- void set onError(void handler(Exception e));
+ void set onError(void handler(e));
}
@@ -376,7 +376,7 @@ interface RandomAccessFile {
* Sets the handler that gets called when errors occur when
* operating on this file.
*/
- void set onError(void handler(Exception e));
+ void set onError(void handler(e));
}
« no previous file with comments | « runtime/bin/directory_impl.dart ('k') | runtime/bin/file_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698