| Index: pkg/analyzer/lib/src/generated/ast.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/ast.dart b/pkg/analyzer/lib/src/generated/ast.dart
|
| index ba77c11bcc7700a817d5e0cb48534fb94cf68cbe..185d4da88796c01190dfc543aa87984a6e4272e6 100644
|
| --- a/pkg/analyzer/lib/src/generated/ast.dart
|
| +++ b/pkg/analyzer/lib/src/generated/ast.dart
|
| @@ -11837,7 +11837,7 @@ class NodeLocator extends UnifyingAstVisitor<Object> {
|
| try {
|
| node.accept(this);
|
| } on NodeLocator_NodeFoundException catch (exception) {
|
| - } on JavaException catch (exception) {
|
| + } catch (exception) {
|
| AnalysisEngine.instance.logger.logInformation2("Unable to locate element at offset (${_startOffset} - ${_endOffset})", exception);
|
| return null;
|
| }
|
| @@ -11858,7 +11858,7 @@ class NodeLocator extends UnifyingAstVisitor<Object> {
|
| node.visitChildren(this);
|
| } on NodeLocator_NodeFoundException catch (exception) {
|
| throw exception;
|
| - } on JavaException catch (exception) {
|
| + } catch (exception) {
|
| // Ignore the exception and proceed in order to visit the rest of the structure.
|
| AnalysisEngine.instance.logger.logInformation2("Exception caught while traversing an AST structure.", exception);
|
| }
|
|
|