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

Unified Diff: lib/core/bool.dart

Issue 11235054: Removed IllegalAccessException and UnsupportedOperationException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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/bool.dart
diff --git a/lib/core/bool.dart b/lib/core/bool.dart
index 3225a9989978ca9d4a380f1b35574bef900fdcb6..946adeb094ea0f75927cb1f9024d107080b601ce 100644
--- a/lib/core/bool.dart
+++ b/lib/core/bool.dart
@@ -6,7 +6,7 @@
class bool {
factory bool._uninstantiable() {
- throw const UnsupportedOperationException(
+ throw new StateError(
"class bool cannot be instantiated");
}
}

Powered by Google App Engine
This is Rietveld 408576698