Index: corelib/src/exceptions.dart |
=================================================================== |
--- corelib/src/exceptions.dart (revision 8116) |
+++ corelib/src/exceptions.dart (working copy) |
@@ -159,8 +159,11 @@ |
class NotImplementedException implements Exception { |
- const NotImplementedException(); |
- String toString() => "NotImplementedException"; |
+ const NotImplementedException([String this._message]); |
+ String toString() => (this._message !== null |
+ ? "NotImplementedException: $_message" |
+ : "NotImplementedException"); |
+ final String _message; |
} |