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 d1ae32252876e7293220a15c9492e35d89c81b0c..4640ff5051759fdd132de539b4bb1c7983f3eeab 100644 |
--- a/sdk/lib/_internal/compiler/implementation/source_file_provider.dart |
+++ b/sdk/lib/_internal/compiler/implementation/source_file_provider.dart |
@@ -43,7 +43,7 @@ abstract class SourceFileProvider { |
List<int> source; |
try { |
source = readAll(uriPathToNative(resourceUri.path)); |
- } on FileException catch (ex) { |
+ } on FileSystemException catch (ex) { |
return new Future.error( |
"Error reading '${relativize(cwd, resourceUri, isWindows)}' " |
"(${ex.osError})"); |