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

Unified Diff: sdk/lib/_internal/pub/lib/src/barback/cycle_exception.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/barback/cycle_exception.dart
diff --git a/sdk/lib/_internal/pub/lib/src/barback/cycle_exception.dart b/sdk/lib/_internal/pub/lib/src/barback/cycle_exception.dart
index c417ecf27ef526c238b6fd8a313941094ebfb9ab..8fdd04788b4df97719f2c15708fda8b6dd3951e9 100644
--- a/sdk/lib/_internal/pub/lib/src/barback/cycle_exception.dart
+++ b/sdk/lib/_internal/pub/lib/src/barback/cycle_exception.dart
@@ -4,9 +4,7 @@
library pub.barback.cycle_exception;
-import 'package:stack_trace/stack_trace.dart';
-
-import '../utils.dart';
+import '../exceptions.dart';
/// An exception thrown when a transformer dependency cycle is detected.
///
@@ -18,9 +16,6 @@ import '../utils.dart';
/// Each call's individual message is called a "step". A [CycleException] is
/// represented internally as a linked list of steps.
class CycleException implements ApplicationException {
- final innerError = null;
- final Trace innerTrace = null;
-
/// The step for this exception.
final String _step;
« no previous file with comments | « sdk/lib/_internal/pub/bin/pub.dart ('k') | sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698