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

Unified Diff: runtime/lib/print_patch.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: runtime/lib/print_patch.dart
diff --git a/runtime/lib/print_patch.dart b/runtime/lib/print_patch.dart
index 6ae59f13c2f13be36217d5795e35a1016ef70234..e786b16a86a7af35ca645de56bbd88cd47da0979 100644
--- a/runtime/lib/print_patch.dart
+++ b/runtime/lib/print_patch.dart
@@ -9,7 +9,7 @@ patch void print(Object obj) {
}
void _unsupportedPrint(Object obj) {
- throw const UnsupportedOperationException("'print' is not supported");
+ throw new StateError("'print' is not supported");
}
// _printClosure can be overwritten by the embedder to supply a different

Powered by Google App Engine
This is Rietveld 408576698