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

Unified Diff: runtime/lib/error.dart

Issue 18529003: Add stackTrace to Error object. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and add bug numbers to status files. Created 7 years, 6 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 | runtime/lib/errors_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/error.dart
diff --git a/runtime/lib/error.dart b/runtime/lib/error.dart
index eb93999e106b0e6bc7b1e6303495f18a9e742fc9..acac03599089dc549bbbef96e8f2fa8c8ea49ca4 100644
--- a/runtime/lib/error.dart
+++ b/runtime/lib/error.dart
@@ -4,7 +4,7 @@
// Errors are created and thrown by DartVM only.
// Changes here should also be reflected in corelib/error.dart as well
-class AssertionErrorImplementation implements AssertionError {
+class AssertionErrorImplementation extends AssertionError {
factory AssertionErrorImplementation._uninstantiable() {
throw new UnsupportedError(
"AssertionError can only be allocated by the VM");
@@ -71,7 +71,7 @@ class CastErrorImplementation
}
}
-class FallThroughErrorImplementation implements FallThroughError {
+class FallThroughErrorImplementation extends FallThroughError {
factory FallThroughErrorImplementation._uninstantiable() {
throw new UnsupportedError(
"FallThroughError can only be allocated by the VM");
@@ -92,7 +92,7 @@ class InternalError {
class AbstractClassInstantiationErrorImplementation
- implements AbstractClassInstantiationError {
+ extends AbstractClassInstantiationError {
factory AbstractClassInstantiationErrorImplementation._uninstantiable() {
throw new UnsupportedError(
« no previous file with comments | « no previous file | runtime/lib/errors_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698