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

Unified Diff: dart/frog/leg/lib/mock.dart

Issue 9417031: Mock up all remaining core library implementation classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 8 years, 10 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 | « dart/frog/leg/lib/js_helper.dart ('k') | dart/frog/leg/lib/mockimpl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/lib/mock.dart
diff --git a/dart/frog/leg/lib/mock.dart b/dart/frog/leg/lib/mock.dart
index 518f98495e4fe0e2be139f1dc5fc814903a41683..fe97f98a5517cf700cd307d98a4e5e7d4f7abd67 100644
--- a/dart/frog/leg/lib/mock.dart
+++ b/dart/frog/leg/lib/mock.dart
@@ -11,7 +11,11 @@ class TypeError extends AssertionError {}
class FallThroughError {}
// TODO(ahe): VM specfic exception?
-class InternalError {}
+class InternalError {
+ const InternalError(this._msg);
+ String toString() => "InternalError: '${_msg}'";
+ final String _msg;
+}
// TODO(ahe): VM specfic exception?
class StaticResolutionException implements Exception {}
« no previous file with comments | « dart/frog/leg/lib/js_helper.dart ('k') | dart/frog/leg/lib/mockimpl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698