Index: runtime/bin/directory.cc |
diff --git a/runtime/bin/directory.cc b/runtime/bin/directory.cc |
index d15d73485b32b7e455fe5c07fb24eeb80a85a88d..6ca4ac0b4b6bd169989b3b6d19a57cd59a1ccb57 100644 |
--- a/runtime/bin/directory.cc |
+++ b/runtime/bin/directory.cc |
@@ -394,7 +394,7 @@ bool SyncDirectoryListing::HandleError(const char* dir_name) { |
args[1] = DartUtils::NewString(dir_name); |
args[2] = dart_os_error; |
Dart_ThrowException(Dart_New( |
- DartUtils::GetDartClass(DartUtils::kIOLibURL, "DirectoryIOException"), |
+ DartUtils::GetDartClass(DartUtils::kIOLibURL, "DirectoryException"), |
Dart_Null(), |
3, |
args)); |