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

Unified Diff: pkg/intl/lib/date_format.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: pkg/intl/lib/date_format.dart
diff --git a/pkg/intl/lib/date_format.dart b/pkg/intl/lib/date_format.dart
index e33c28067c91a78470a9f8c3bdcf6c16bbe0aa1f..f581bbe9f55e6488d90460d751bffddd864a1984 100644
--- a/pkg/intl/lib/date_format.dart
+++ b/pkg/intl/lib/date_format.dart
@@ -182,7 +182,7 @@ class DateFormat {
* However, the skeleton version would also adapt to other locales.
*
* If [locale] does not exist in our set of supported locales then an
- * [IllegalArgumentException] is thrown.
+ * [ArgumentError] is thrown.
*/
DateFormat([String newPattern, String locale]) {
// TODO(alanknight): It should be possible to specify multiple skeletons eg

Powered by Google App Engine
This is Rietveld 408576698