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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.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/context/AnalysisContextImpl.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
index 628b462272d89599df3dc5919396b5186bc1311c..22f667009854081f15585cccc289bea6134c9a82 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java
@@ -2691,7 +2691,7 @@ public class AnalysisContextImpl implements InternalAnalysisContext {
} catch (AnalysisException exception) {
throw exception;
} catch (Exception exception) {
- throw new AnalysisException(exception);
+ throw new AnalysisException("Exception", exception);
}
state = dartEntry.getState(descriptor);
}
@@ -2785,7 +2785,7 @@ public class AnalysisContextImpl implements InternalAnalysisContext {
} catch (AnalysisException exception) {
throw exception;
} catch (Exception exception) {
- throw new AnalysisException(exception);
+ throw new AnalysisException("Exception", exception);
}
state = htmlEntry.getState(descriptor);
}

Powered by Google App Engine
This is Rietveld 408576698