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(); |
} |