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

Unified Diff: utils/pub/utils.dart

Issue 10850034: Rename BadNumberFormatException -> FormatException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Re-word comment as TODO. Created 8 years, 4 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: utils/pub/utils.dart
diff --git a/utils/pub/utils.dart b/utils/pub/utils.dart
index 211b5a7b3ce6c50b1de13615695dc577d4a3d445..f4e8f401958d5233bca4e675b9632ce96c3187c6 100644
--- a/utils/pub/utils.dart
+++ b/utils/pub/utils.dart
@@ -10,15 +10,6 @@
#import('dart:crypto');
#import('dart:isolate');
-/** Thrown by methods that parse text when the text isn't a valid. */
-class FormatException implements Exception {
- final String message;
-
- FormatException(this.message);
-
- String toString() => message;
-}
-
/** A pair of values. */
class Pair<E, F> {
E first;

Powered by Google App Engine
This is Rietveld 408576698