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

Unified Diff: lib/core/errors.dart

Issue 11233004: Rename OutOfMemoryException to OutOfMemoryError. (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
« no previous file with comments | « no previous file | lib/core/exceptions.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/errors.dart
diff --git a/lib/core/errors.dart b/lib/core/errors.dart
index cef165e44728c97eb978ecbc1e66d28af62ca70f..97465fc23149b9a3da68a5cf9ce35495e111b537 100644
--- a/lib/core/errors.dart
+++ b/lib/core/errors.dart
@@ -129,3 +129,9 @@ class NoSuchMethodError implements Error {
external static String _objectToString(Object object);
}
+
+
+class OutOfMemoryError implements Exception {
+ const OutOfMemoryError();
+ String toString() => "Out of Memory";
+}
« no previous file with comments | « no previous file | lib/core/exceptions.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698