Index: pkg/analyzer/lib/src/generated/source.dart |
diff --git a/pkg/analyzer/lib/src/generated/source.dart b/pkg/analyzer/lib/src/generated/source.dart |
index 5e410f9979d6436de32fd8ebafb4684365579f1e..0e682bf51ca7a401c2132b919a7c492331f9bc41 100644 |
--- a/pkg/analyzer/lib/src/generated/source.dart |
+++ b/pkg/analyzer/lib/src/generated/source.dart |
@@ -543,7 +543,7 @@ class SourceFactory { |
} |
} |
throw new IllegalArgumentException("No resolver for kind: ${kind}"); |
- } on JavaException catch (exception) { |
+ } catch (exception) { |
throw new IllegalArgumentException("Invalid URI in encoding"); |
} |
} |