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 |