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

Unified Diff: sdk/lib/core/stacktrace.dart

Issue 14009004: Remove methods on StackTrace class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
Index: sdk/lib/core/stacktrace.dart
diff --git a/sdk/lib/core/stacktrace.dart b/sdk/lib/core/stacktrace.dart
index a82a8402bd1aa28de72502054479cee9d04da6a2..5de2c1d5edf61427c9936e2eb7e50ab6648f47dc 100644
--- a/sdk/lib/core/stacktrace.dart
+++ b/sdk/lib/core/stacktrace.dart
@@ -14,15 +14,15 @@ part of dart.core;
* them programmatically.
*/
abstract class StackTrace {
- // Returns a String object that contains the full stack trace starting from
- // the point where an exception has ocurred to the entry function which is
- // typically 'main'.
- // 'toString()' on a stack trace object essentially invokes this getter.
- external String get fullStackTrace;
-
- // Returns a String object that contains a stack trace starting from the
- // point where an exception has ocurred to the point where the exception
- // is caught.
- external String get stackTrace;
+ /**
+ * Returns a [String] representation of the stack trace.
+ *
+ * The string represents the full stack trace starting from
+ * the point where a throw ocurred to the entry function, which is
+ * typically 'main'.
kasperl 2013/04/11 09:29:48 In an event driven program, I'm not sure the entry
+ *
+ * The exact format of the string representation is not final.
+ */
+ String toString();
}

Powered by Google App Engine
This is Rietveld 408576698