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

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: Add dart2j issue number for unexepected stack trace. 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..ef8cc4dbb4adfac17f33fef5f28d31fe15d45a2c 100644
--- a/sdk/lib/core/stacktrace.dart
+++ b/sdk/lib/core/stacktrace.dart
@@ -14,15 +14,14 @@ 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 top of the current call sequence.
+ *
+ * The exact format of the string representation is not final.
+ */
+ String toString();
}

Powered by Google App Engine
This is Rietveld 408576698