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

Unified Diff: lib/core/exceptions.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/core/exceptions.dart
diff --git a/lib/core/exceptions.dart b/lib/core/exceptions.dart
index 886680ecac1dad3d05d6adc4cd7f14ce658a7518..0e35d93cceb5f950f4d959c3bae5a814bdcda287 100644
--- a/lib/core/exceptions.dart
+++ b/lib/core/exceptions.dart
@@ -34,14 +34,6 @@ class IndexOutOfRangeException implements Exception {
final _value;
}
-/**
- * Exception thrown because of attempt to modify an immutable object.
- */
-class IllegalAccessException implements Exception {
- const IllegalAccessException();
- String toString() => "Attempt to modify an immutable object";
-}
-
class ClosureArgumentMismatchException implements Exception {
const ClosureArgumentMismatchException();
@@ -105,13 +97,6 @@ class EmptyQueueException implements Exception {
}
-class UnsupportedOperationException implements Exception {
- const UnsupportedOperationException(String this._message);
- String toString() => "UnsupportedOperationException: $_message";
- final String _message;
-}
-
-
class NotImplementedException implements Exception {
const NotImplementedException([String message]) : this._message = message;
String toString() => (this._message !== null

Powered by Google App Engine
This is Rietveld 408576698