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

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: ADded test expectations. 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
« no previous file with comments | « lib/core/errors.dart ('k') | lib/core/list.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 12274b8c87f453042c7d480f844ee496a394ab20..c09edb592ac01bf3956a48cd0b69342a28487e53 100644
--- a/lib/core/exceptions.dart
+++ b/lib/core/exceptions.dart
@@ -34,13 +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";
-}
/**
* Exception thrown when a string or some other data does not have an expected
@@ -92,13 +85,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
« no previous file with comments | « lib/core/errors.dart ('k') | lib/core/list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698