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

Unified Diff: runtime/lib/isolate.cc

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/lib/isolate.cc
diff --git a/runtime/lib/isolate.cc b/runtime/lib/isolate.cc
index 8a0cdc6cce5df254a397c02040a9ce53f8ae3baf..c7bf00ce50ecadbccbc490d4460fab989e9b2ecb 100644
--- a/runtime/lib/isolate.cc
+++ b/runtime/lib/isolate.cc
@@ -152,7 +152,7 @@ DEFINE_NATIVE_ENTRY(SendPortImpl_sendInternal_, 3) {
static void ThrowIllegalArgException(const String& message) {
GrowableArray<const Object*> args(1);
args.Add(&message);
- Exceptions::ThrowByType(Exceptions::kIllegalArgument, args);
+ Exceptions::ThrowByType(Exceptions::kArgument, args);
}

Powered by Google App Engine
This is Rietveld 408576698