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

Unified Diff: sdk/lib/_internal/dartdoc/lib/dartdoc.dart

Issue 16123036: Clean up dart:io exceptions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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
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.
}
}
« no previous file with comments | « sdk/lib/_internal/compiler/samples/leap/leap_server.dart ('k') | sdk/lib/_internal/dartdoc/lib/src/export_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698