Index: sdk/lib/_internal/compiler/implementation/source_file_provider.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/source_file_provider.dart b/sdk/lib/_internal/compiler/implementation/source_file_provider.dart |
index e10a4bdbb59621da4908d00b98a808559dfccece..9916c985d617290964d59ce2ebc6356e8390e0b2 100644 |
--- a/sdk/lib/_internal/compiler/implementation/source_file_provider.dart |
+++ b/sdk/lib/_internal/compiler/implementation/source_file_provider.dart |
@@ -37,7 +37,7 @@ class SourceFileProvider { |
String source; |
try { |
source = readAll(uriPathToNative(resourceUri.path)); |
- } on FileIOException catch (ex) { |
+ } on FileException catch (ex) { |
throw 'Error: Cannot read "${relativize(cwd, resourceUri, isWindows)}" ' |
'(${ex.osError}).'; |
} |