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

Unified Diff: pkg/analyzer_experimental/lib/src/generated/source_io.dart

Issue 26096002: New analyzer_experimental snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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: pkg/analyzer_experimental/lib/src/generated/source_io.dart
diff --git a/pkg/analyzer_experimental/lib/src/generated/source_io.dart b/pkg/analyzer_experimental/lib/src/generated/source_io.dart
index 8c1192775eb22081e57c678bafedd25c7b0c18f5..692b0e2e89ae0f578f4e42c3daf101c5335515df 100644
--- a/pkg/analyzer_experimental/lib/src/generated/source_io.dart
+++ b/pkg/analyzer_experimental/lib/src/generated/source_io.dart
@@ -95,7 +95,7 @@ class FileBasedSource implements Source {
try {
Uri resolvedUri = file.toURI().resolveUri(containedUri);
return new FileBasedSource.con2(_contentCache, new JavaFile.fromUri(resolvedUri), _uriKind);
- } catch (exception) {
+ } on JavaException catch (exception) {
}
return null;
}
@@ -222,7 +222,7 @@ class PackageUriResolver extends UriResolver {
String relPath = sourcePath.substring(pkgCanonicalPath.length);
return parseUriWithException("${PACKAGE_SCHEME}:${pkgFolder.getName()}${relPath}");
}
- } catch (e) {
+ } on JavaException catch (e) {
}
}
}
« no previous file with comments | « pkg/analyzer_experimental/lib/src/generated/source.dart ('k') | pkg/analyzer_experimental/test/generated/element_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698