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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/context/AnalysisException.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
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java » ('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/context/AnalysisException.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/context/AnalysisException.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/context/AnalysisException.java
index 8c413f50459e0b91d28ec42d14ccf58a80dc344d..e4e454795c61b0613e3a8e9f3c885b3b518c4c3e 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/context/AnalysisException.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/context/AnalysisException.java
@@ -13,16 +13,21 @@
*/
package com.google.dart.engine.context;
+import com.google.dart.engine.utilities.translation.DartOmit;
+import com.google.dart.engine.utilities.translation.DartOptional;
+
/**
* Instances of the class {@code AnalysisException} represent an exception that occurred during the
* analysis of one or more sources.
*
* @coverage dart.engine
*/
+@DartOmit
public class AnalysisException extends Exception {
/**
* Initialize a newly created exception.
*/
+ @DartOmit
public AnalysisException() {
super();
}
@@ -32,6 +37,7 @@ public class AnalysisException extends Exception {
*
* @param message the message associated with the exception
*/
+ @DartOmit
public AnalysisException(String message) {
super(message);
}
@@ -42,16 +48,7 @@ public class AnalysisException extends Exception {
* @param message the message associated with the exception
* @param cause the underlying exception that caused this exception
*/
- public AnalysisException(String message, Throwable cause) {
+ public AnalysisException(@DartOptional String message, @DartOptional Throwable cause) {
super(message, cause);
}
-
- /**
- * Initialize a newly created exception to have the given cause.
- *
- * @param cause the underlying exception that caused this exception
- */
- public AnalysisException(Throwable cause) {
- super(cause);
- }
}
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698