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

Side by Side Diff: sdk/lib/core/exceptions.dart

Issue 11612020: Revert "Switch libraries to using new tags." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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
« no previous file with comments | « sdk/lib/core/errors.dart ('k') | sdk/lib/core/expando.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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;
6
7 // Exceptions are thrown either by the VM or from Dart code. 5 // Exceptions are thrown either by the VM or from Dart code.
8 6
9 /** 7 /**
10 * A marker interface implemented by all core library exceptions. 8 * A marker interface implemented by all core library exceptions.
11 * 9 *
12 * An [Exception] is intended to convey information to the user about a failure, 10 * An [Exception] is intended to convey information to the user about a failure,
13 * so that the error can be addressed programmatically. It is intended to be 11 * so that the error can be addressed programmatically. It is intended to be
14 * caught, and it should contain useful data fields. 12 * caught, and it should contain useful data fields.
15 * 13 *
16 * Creating instances of [Exception] directly with [:new Exception("message"):] 14 * Creating instances of [Exception] directly with [:new Exception("message"):]
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 String toString() => "IllegalJSRegExpException: '$_pattern' '$_errmsg'"; 57 String toString() => "IllegalJSRegExpException: '$_pattern' '$_errmsg'";
60 final String _pattern; 58 final String _pattern;
61 final String _errmsg; 59 final String _errmsg;
62 } 60 }
63 61
64 62
65 class IntegerDivisionByZeroException implements Exception { 63 class IntegerDivisionByZeroException implements Exception {
66 const IntegerDivisionByZeroException(); 64 const IntegerDivisionByZeroException();
67 String toString() => "IntegerDivisionByZeroException"; 65 String toString() => "IntegerDivisionByZeroException";
68 } 66 }
OLDNEW
« no previous file with comments | « sdk/lib/core/errors.dart ('k') | sdk/lib/core/expando.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698