Index: sdk/lib/io/file_system_entity.dart |
diff --git a/sdk/lib/io/file_system_entity.dart b/sdk/lib/io/file_system_entity.dart |
index 0a1ee9ed85ebf7477d7e79a95c221df8bd747373..1723508b141ade31d7e002ab15539378dcb93949 100644 |
--- a/sdk/lib/io/file_system_entity.dart |
+++ b/sdk/lib/io/file_system_entity.dart |
@@ -371,7 +371,7 @@ abstract class FileSystemEntity { |
static _throwIfError(Object result, String msg) { |
if (result is OSError) { |
- throw new FileIOException(msg, result); |
+ throw new FileException(msg, result); |
} else if (result is ArgumentError) { |
throw result; |
} |