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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/AnalysisTask.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/AnalysisTask.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/AnalysisTask.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/AnalysisTask.java
index 9aa3bb6b88c05df6cf94f447d55c324719684db7..4a00e61936f3d8dd858dfadcb9bf5bc597f79e3a 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/AnalysisTask.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/AnalysisTask.java
@@ -120,7 +120,7 @@ public abstract class AnalysisTask {
} catch (AnalysisException exception) {
throw exception;
} catch (Exception exception) {
- throw new AnalysisException(exception);
+ throw new AnalysisException("Exception", exception);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698