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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart.core; 5 part of dart.core;
6 6
7 /** 7 /**
8 * An interface implemented by all stack trace objects. 8 * An interface implemented by all stack trace objects.
9 * 9 *
10 * A [StackTrace] is intended to convey information to the user about the call 10 * A [StackTrace] is intended to convey information to the user about the call
11 * sequence that triggered an exception. 11 * sequence that triggered an exception.
12 * 12 *
13 * These objects are created by the runtime, it is not possible to create 13 * These objects are created by the runtime, it is not possible to create
14 * them programmatically. 14 * them programmatically.
15 */ 15 */
16 abstract class StackTrace { 16 abstract class StackTrace {
17 // Returns a String object that contains the full stack trace starting from 17 /**
18 // the point where an exception has ocurred to the entry function which is 18 * Returns a [String] representation of the stack trace.
19 // typically 'main'. 19 *
20 // 'toString()' on a stack trace object essentially invokes this getter. 20 * The string represents the full stack trace starting from
21 external String get fullStackTrace; 21 * the point where a throw ocurred to the top of the current call sequence.
22 22 *
23 // Returns a String object that contains a stack trace starting from the 23 * The exact format of the string representation is not final.
24 // point where an exception has ocurred to the point where the exception 24 */
25 // is caught. 25 String toString();
26 external String get stackTrace;
27 } 26 }
28 27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698