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

Unified Diff: runtime/bin/process.dart

Issue 10989013: Change IllegalArgumentException to ArgumentError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated co19 test expectations. Created 8 years, 3 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: 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);
}

Powered by Google App Engine
This is Rietveld 408576698