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

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

Issue 360393003: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/ast.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/GetContentTask.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/GetContentTask.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/GetContentTask.java
index cb2bfa27e30642413db086f92263e44524760c72..d1f6fbbba7477ca25c7a3149a83b1ef3a8d3d6d0 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/GetContentTask.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/task/GetContentTask.java
@@ -116,7 +116,7 @@ public class GetContentTask extends AnalysisTask {
TimestampedData<CharSequence> data = getContext().getContents(source);
content = data.getData();
modificationTime = data.getModificationTime();
- } catch (Exception exception) {
+ } catch (Throwable exception) {
throw new AnalysisException("Could not get contents of " + source, exception);
}
}
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698