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

Unified Diff: runtime/vm/exceptions.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/vm/exceptions.cc
diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc
index 81618ab6945c9f9b7b0e92b125ef6fe5b41f02e4..2706ebc850f012aa83bcec29922511f46741d796 100644
--- a/runtime/vm/exceptions.cc
+++ b/runtime/vm/exceptions.cc
@@ -385,9 +385,9 @@ RawObject* Exceptions::Create(
library = Library::CoreLibrary();
class_name = Symbols::New("IndexOutOfRangeException");
break;
- case kIllegalArgument:
+ case kArgument:
library = Library::CoreLibrary();
- class_name = Symbols::New("IllegalArgumentException");
+ class_name = Symbols::New("ArgumentError");
break;
case kNoSuchMethod:
library = Library::CoreLibrary();

Powered by Google App Engine
This is Rietveld 408576698