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