Index: sdk/lib/_internal/dartdoc/lib/dartdoc.dart |
diff --git a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart |
index fabd7e2397262da88402c49835d987a81ee478d7..7d5eba0b803d72fdd538190ea9db7654bfed890e 100644 |
--- a/sdk/lib/_internal/dartdoc/lib/dartdoc.dart |
+++ b/sdk/lib/_internal/dartdoc/lib/dartdoc.dart |
@@ -87,7 +87,7 @@ void cleanOutputDirectory(Path path) { |
// due to invalid result from dir.existsSync() (probably due to race |
// conditions). |
outputDir.createSync(); |
- } on DirectoryIOException catch (e) { |
+ } on DirectoryException catch (e) { |
// Ignore. |
} |
} |
@@ -602,7 +602,7 @@ class Dartdoc { |
// race conditions). |
try { |
dir.createSync(); |
- } on DirectoryIOException catch (e) { |
+ } on DirectoryException catch (e) { |
// Ignore. |
} |
} |