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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/ScanDartTask.java

Issue 285423002: New analyzer snapshot (with CaughtException). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Replace AnalysisException with CaughtException Created 6 years, 7 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: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/ScanDartTask.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/ScanDartTask.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/ScanDartTask.java
index 8f6b90cf0eebc49de1f1d80ae834632e53cae73b..af9a4dc35a140fa9d2cdbe597c65e06f18158329 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/ScanDartTask.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/ScanDartTask.java
@@ -148,7 +148,7 @@ public class ScanDartTask extends AnalysisTask {
lineInfo = new LineInfo(scanner.getLineStarts());
errors = errorListener.getErrorsForSource(source);
} catch (Exception exception) {
- throw new AnalysisException(exception);
+ throw new AnalysisException("Exception", exception);
} finally {
timeCounterScan.stop();
}

Powered by Google App Engine
This is Rietveld 408576698