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

Unified Diff: runtime/bin/directory.cc

Issue 26968003: Remove DirectoryException and LinkException from dart:io and use FileException instaed. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge with master. Created 7 years, 2 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 | « pkg/watcher/lib/src/utils.dart ('k') | runtime/bin/file_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/directory.cc
diff --git a/runtime/bin/directory.cc b/runtime/bin/directory.cc
index 10c53b9ff8b3774dae56dea025e5653493b77585..058d6382b837f5b52c20cefd0c6234fb597a4794 100644
--- a/runtime/bin/directory.cc
+++ b/runtime/bin/directory.cc
@@ -374,7 +374,7 @@ bool SyncDirectoryListing::HandleError(const char* dir_name) {
args[1] = DartUtils::NewString(dir_name);
args[2] = dart_os_error;
Dart_ThrowException(Dart_New(
- DartUtils::GetDartType(DartUtils::kIOLibURL, "DirectoryException"),
+ DartUtils::GetDartType(DartUtils::kIOLibURL, "FileSystemException"),
Dart_Null(),
3,
args));
« no previous file with comments | « pkg/watcher/lib/src/utils.dart ('k') | runtime/bin/file_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698