| Index: runtime/bin/directory.cc
|
| diff --git a/runtime/bin/directory.cc b/runtime/bin/directory.cc
|
| index 10c53b9ff8b3774dae56dea025e5653493b77585..058d6382b837f5b52c20cefd0c6234fb597a4794 100644
|
| --- a/runtime/bin/directory.cc
|
| +++ b/runtime/bin/directory.cc
|
| @@ -374,7 +374,7 @@ bool SyncDirectoryListing::HandleError(const char* dir_name) {
|
| args[1] = DartUtils::NewString(dir_name);
|
| args[2] = dart_os_error;
|
| Dart_ThrowException(Dart_New(
|
| - DartUtils::GetDartType(DartUtils::kIOLibURL, "DirectoryException"),
|
| + DartUtils::GetDartType(DartUtils::kIOLibURL, "FileSystemException"),
|
| Dart_Null(),
|
| 3,
|
| args));
|
|
|