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

Unified Diff: runtime/lib/integers.dart

Issue 11228002: Rename OutOfMemoryException to OutOfMemoryError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Made ExceptionImplementation private. Rmoved references in tests. 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/coreimpl/exceptions.dart ('k') | runtime/tests/vm/dart/isolate_mirror_local_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/integers.dart
diff --git a/runtime/lib/integers.dart b/runtime/lib/integers.dart
index e0d3608094ab377acf19c2706577f7b4a62a0887..f2b46b7543d2b1ffef2fc879df1477698a2dd6a6 100644
--- a/runtime/lib/integers.dart
+++ b/runtime/lib/integers.dart
@@ -213,7 +213,7 @@ class _Mint extends _IntegerImplementation implements int {
}
}
int _shlFromInt(int other) {
- throw const OutOfMemoryException();
+ throw const OutOfMemoryError();
}
}
@@ -238,7 +238,7 @@ class _Bigint extends _IntegerImplementation implements int {
}
}
int _shlFromInt(int other) {
- throw const OutOfMemoryException();
+ throw const OutOfMemoryError();
}
int pow(int exponent) {
« no previous file with comments | « lib/coreimpl/exceptions.dart ('k') | runtime/tests/vm/dart/isolate_mirror_local_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698