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

Side by Side Diff: lib/core/errors.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | lib/core/exceptions.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 class Error { 5 class Error {
6 const Error(); 6 const Error();
7 } 7 }
8 8
9 class AssertionError implements Error { 9 class AssertionError implements Error {
10 } 10 }
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 .replaceAll('\n', '${backslash}n') 122 .replaceAll('\n', '${backslash}n')
123 .replaceAll('\r', '${backslash}r') 123 .replaceAll('\r', '${backslash}r')
124 .replaceAll('"', '$backslash"'); 124 .replaceAll('"', '$backslash"');
125 return '"$escaped"'; 125 return '"$escaped"';
126 } 126 }
127 return _objectToString(object); 127 return _objectToString(object);
128 } 128 }
129 129
130 external static String _objectToString(Object object); 130 external static String _objectToString(Object object);
131 } 131 }
132
133
134 class OutOfMemoryError implements Exception {
135 const OutOfMemoryError();
136 String toString() => "Out of Memory";
137 }
OLDNEW
« 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