Chromium Code Reviews| Index: runtime/bin/process.dart |
| diff --git a/runtime/bin/process.dart b/runtime/bin/process.dart |
| index f9e7e276e602f57d7828604f2ab6df38030a61f0..ca6c097e9438b5ffa8b62094e8b6076e61f5f205 100644 |
| --- a/runtime/bin/process.dart |
| +++ b/runtime/bin/process.dart |
| @@ -5,7 +5,7 @@ |
| /** Exit the Dart VM process with the given [status] code. */ |
| void exit(int status) { |
| if (status is !int) { |
| - throw new IllegalArgumentException("int status expected"); |
| + throw new ArgumentError("int status expected"); |
| } |
| _exit(status); |
| } |