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

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: ADded test expectations. 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
« no previous file with comments | « runtime/lib/integers.dart ('k') | runtime/lib/string_base.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/print_patch.dart
diff --git a/runtime/lib/print_patch.dart b/runtime/lib/print_patch.dart
index 6ae59f13c2f13be36217d5795e35a1016ef70234..53d034c4feee95283009f508502e5cc0f4a1a4ac 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 UnsupportedError("'print' is not supported");
}
// _printClosure can be overwritten by the embedder to supply a different
« no previous file with comments | « runtime/lib/integers.dart ('k') | runtime/lib/string_base.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698