| Index: pkg/analyzer_experimental/lib/src/generated/ast.dart
|
| diff --git a/pkg/analyzer_experimental/lib/src/generated/ast.dart b/pkg/analyzer_experimental/lib/src/generated/ast.dart
|
| index 3acc2316b0346c4f0fa46c32e22b681949c66068..609b58d072aef3bf12ac8fb08b9981d3cca50d6c 100644
|
| --- a/pkg/analyzer_experimental/lib/src/generated/ast.dart
|
| +++ b/pkg/analyzer_experimental/lib/src/generated/ast.dart
|
| @@ -12987,7 +12987,7 @@ class NodeLocator extends GeneralizingASTVisitor<Object> {
|
| try {
|
| node.accept(this);
|
| } on NodeLocator_NodeFoundException catch (exception) {
|
| - } catch (exception) {
|
| + } on JavaException catch (exception) {
|
| AnalysisEngine.instance.logger.logInformation2("Unable to locate element at offset (${_startOffset} - ${_endOffset})", exception);
|
| return null;
|
| }
|
| @@ -13006,7 +13006,7 @@ class NodeLocator extends GeneralizingASTVisitor<Object> {
|
| node.visitChildren(this);
|
| } on NodeLocator_NodeFoundException catch (exception) {
|
| throw exception;
|
| - } catch (exception) {
|
| + } on JavaException catch (exception) {
|
| AnalysisEngine.instance.logger.logInformation2("Exception caught while traversing an AST structure.", exception);
|
| }
|
| if (start <= _startOffset && _endOffset <= end) {
|
|
|