Index: sdk/lib/io/directory.dart |
diff --git a/sdk/lib/io/directory.dart b/sdk/lib/io/directory.dart |
index 95e6aa86ce831ecf844e290ee7093a3631faccb6..6275dc00ddd458a5013af1ff6603741ced7542d9 100644 |
--- a/sdk/lib/io/directory.dart |
+++ b/sdk/lib/io/directory.dart |
@@ -187,32 +187,3 @@ abstract class Directory implements FileSystemEntity { |
*/ |
final String path; |
} |
- |
- |
-class DirectoryException implements IOException { |
- const DirectoryException([String this.message = "", |
- String this.path = "", |
- OSError this.osError = null]); |
- String toString() { |
- StringBuffer sb = new StringBuffer(); |
- sb.write("DirectoryException"); |
- if (!message.isEmpty) { |
- sb.write(": $message"); |
- if (path != null) { |
- sb.write(", path = $path"); |
- } |
- if (osError != null) { |
- sb.write(" ($osError)"); |
- } |
- } else if (osError != null) { |
- sb.write(": $osError"); |
- if (path != null) { |
- sb.write(", path = $path"); |
- } |
- } |
- return sb.toString(); |
- } |
- final String message; |
- final String path; |
- final OSError osError; |
-} |