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

Unified Diff: runtime/bin/file_patch.dart

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 | « runtime/bin/directory.cc ('k') | runtime/bin/stdio_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/file_patch.dart
diff --git a/runtime/bin/file_patch.dart b/runtime/bin/file_patch.dart
index 1fb9b90d943a714b0ccd5d0010b6c4b4627ed565..907b7f2aeda9476ee8b188e04dfe2b3cbdd9917d 100644
--- a/runtime/bin/file_patch.dart
+++ b/runtime/bin/file_patch.dart
@@ -57,7 +57,7 @@ class _FileSystemWatcherImpl
_FileSystemWatcherImpl(this._path, this._events, this._recursive) {
if (!isSupported) {
- throw new FileException(
+ throw new FileSystemException(
"File system watching is not supported on this system",
_path);
}
@@ -69,7 +69,7 @@ class _FileSystemWatcherImpl
try {
socketId = _watchPath(_path, _events, identical(true, _recursive));
} catch (e) {
- throw new FileException(
+ throw new FileSystemException(
"Failed to watch path",
_path,
e);
« no previous file with comments | « runtime/bin/directory.cc ('k') | runtime/bin/stdio_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698