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

Unified Diff: lib/core/exceptions.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: lib/core/exceptions.dart
diff --git a/lib/core/exceptions.dart b/lib/core/exceptions.dart
index 01020018cae5b718051a915ef6a213e0ec0d811e..e6ee7ac61cb07065273da5555881591374f705ca 100644
--- a/lib/core/exceptions.dart
+++ b/lib/core/exceptions.dart
@@ -46,13 +46,6 @@ class ObjectNotClosureException implements Exception {
}
-class IllegalArgumentException implements Exception {
- const IllegalArgumentException([arg = ""]) : _arg = arg;
- String toString() => "Illegal argument(s): $_arg";
- final _arg;
-}
-
-
class OutOfMemoryException implements Exception {
const OutOfMemoryException();
String toString() => "Out of Memory";

Powered by Google App Engine
This is Rietveld 408576698