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

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: 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..bd5acc9900a62dd30383c310e56216ac72c16ed6 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 StateError("MirrorSystem not implemented");
}
static Future<MirrorSystem> mirrorSystemOf(SendPort port) {
- throw new UnsupportedOperationException("MirrorSystem not implemented");
+ throw new StateError("MirrorSystem not implemented");
}
static InstanceMirror reflect(Object reflectee) {
- throw new UnsupportedOperationException("MirrorSystem not implemented");
+ throw new StateError("MirrorSystem not implemented");
}
}

Powered by Google App Engine
This is Rietveld 408576698