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

Unified Diff: lib/core/exceptions.dart

Issue 10939030: Reapply conversion of most core interfaces to abstract classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « lib/core/duration.dart ('k') | lib/core/expect.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/exceptions.dart
diff --git a/lib/core/exceptions.dart b/lib/core/exceptions.dart
index b6ab8257be2227227af2c292209334c14c7cbc3d..01020018cae5b718051a915ef6a213e0ec0d811e 100644
--- a/lib/core/exceptions.dart
+++ b/lib/core/exceptions.dart
@@ -6,9 +6,10 @@
/**
* Interface implemented by all core library exceptions.
+ * Defaults to an implementation that only carries a simple message.
*/
interface Exception default ExceptionImplementation {
- const Exception([var msg]);
+ const Exception([var message]);
}
« no previous file with comments | « lib/core/duration.dart ('k') | lib/core/expect.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698