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

Unified Diff: lib/compiler/implementation/lib/mirrors.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
Index: lib/compiler/implementation/lib/mirrors.dart
diff --git a/lib/compiler/implementation/lib/mirrors.dart b/lib/compiler/implementation/lib/mirrors.dart
index f717d9b34a9df826a95c7a99c0ab702d17fb0493..243de2294cf21a01698cdb0c0b6f6986da389a9c 100644
--- a/lib/compiler/implementation/lib/mirrors.dart
+++ b/lib/compiler/implementation/lib/mirrors.dart
@@ -13,14 +13,14 @@
*/
class _Mirrors {
static MirrorSystem currentMirrorSystem() {
- throw new UnsupportedOperationException("MirrorSystem not implemented");
+ throw new UnsupportedError("MirrorSystem not implemented");
}
static Future<MirrorSystem> mirrorSystemOf(SendPort port) {
- throw new UnsupportedOperationException("MirrorSystem not implemented");
+ throw new UnsupportedError("MirrorSystem not implemented");
}
static InstanceMirror reflect(Object reflectee) {
- throw new UnsupportedOperationException("MirrorSystem not implemented");
+ throw new UnsupportedError("MirrorSystem not implemented");
}
}
« no previous file with comments | « lib/compiler/implementation/lib/js_helper.dart ('k') | lib/compiler/implementation/lib/scalarlist_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698