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

Unified Diff: sdk/lib/_internal/pub/lib/src/pubspec.dart

Issue 354663008: Clean up pub's exceptions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 6 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: sdk/lib/_internal/pub/lib/src/pubspec.dart
diff --git a/sdk/lib/_internal/pub/lib/src/pubspec.dart b/sdk/lib/_internal/pub/lib/src/pubspec.dart
index 1989e17ff184ad63aaba95c9124f0eb5a2528285..3291b34dbfe5bf1c7f3391e614c004186a02fbc4 100644
--- a/sdk/lib/_internal/pub/lib/src/pubspec.dart
+++ b/sdk/lib/_internal/pub/lib/src/pubspec.dart
@@ -9,6 +9,7 @@ import 'package:source_maps/source_maps.dart';
import 'package:yaml/yaml.dart';
import 'barback/transformer_config.dart';
+import 'exceptions.dart';
import 'io.dart';
import 'package.dart';
import 'source_registry.dart';
@@ -474,9 +475,6 @@ class PubspecEnvironment {
/// These exceptions are often thrown lazily while accessing pubspec properties.
class PubspecException extends SpanFormatException
implements ApplicationException {
- final innerError = null;
- final innerTrace = null;
-
PubspecException(String message, Span span)
: super(message, span);
}
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/git.dart ('k') | sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698