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

Unified Diff: lib/core/exceptions.dart

Issue 11358060: Change NotImplementedException to UnimplementedError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address review comments. Created 8 years, 1 month 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/core/exceptions.dart
diff --git a/lib/core/exceptions.dart b/lib/core/exceptions.dart
index e49856777bd90dcd3e925d94fe220e77c9cf6e45..2d2bc436dd496be9903aa7ac5529310df31ee8d4 100644
--- a/lib/core/exceptions.dart
+++ b/lib/core/exceptions.dart
@@ -61,15 +61,6 @@ class NullPointerException implements Exception {
}
-class NotImplementedException implements Exception {
- const NotImplementedException([String message]) : this._message = message;
- String toString() => (this._message !== null
- ? "NotImplementedException: $_message"
- : "NotImplementedException");
- final String _message;
-}
-
-
class IllegalJSRegExpException implements Exception {
const IllegalJSRegExpException(String this._pattern, String this._errmsg);
String toString() => "IllegalJSRegExpException: '$_pattern' '$_errmsg'";

Powered by Google App Engine
This is Rietveld 408576698