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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/timing/SDKAnalysisTest.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_test/src/com/google/dart/engine/timing/SDKAnalysisTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/timing/SDKAnalysisTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/timing/SDKAnalysisTest.java
index 71681c9659554daf654d4807a86b94d68305be4c..39a5504fadbfce4775ef69001512455b5b4311d4 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/timing/SDKAnalysisTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/timing/SDKAnalysisTest.java
@@ -101,7 +101,7 @@ public class SDKAnalysisTest extends TestCase {
Parser parser = new Parser(source, AnalysisErrorListener.NULL_LISTENER);
parser.parseCompilationUnit(token);
} catch (Exception exception) {
- throw new AnalysisException(exception);
+ throw new AnalysisException("Exception", exception);
}
}
@@ -112,7 +112,7 @@ public class SDKAnalysisTest extends TestCase {
context.getContents(source).getData()), errorListener);
scanner.tokenize();
} catch (Exception exception) {
- throw new AnalysisException(exception);
+ throw new AnalysisException("Exception", exception);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698