diff options
author | 2015-07-08 23:59:42 +0000 | |
---|---|---|
committer | 2015-07-10 17:16:34 +0000 | |
commit | b17c341a42b34d15574e7315d32ea1bb1c27a263 (patch) | |
tree | 3a2aa6803ad6f2fc6a3dc486e7e656d483dc3ae7 /src/main/java/com/google/devtools/build/lib/collect | |
parent | d3a89f9da1470db5d82037a287f02e5456086d28 (diff) |
Handle errors from DirectoryListingFunction
SkyFunctions that call DirectoryListingFunction directly, as in the
case of RecursiveDirectoryTraversalFunction, or transitively, as in
the case of IncludeParser's call to GlobFunction, had been failing
to handle the exceptions that DirectoryListingFunction can throw.
DirectoryListingFunction can throw InconsistentFilesystemException
directly, but it can also throw IOException and
FileOutsidePackageRootsException because of its call to
DirectoryListingStateFunction without any of its own error handling.
RecursiveFilesystemTraversalFunction also calls
DirectoryListingFunction, but is not yet in use. A follow-up CL will
take care of its error handling needs.
--
MOS_MIGRATED_REVID=97828177
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/collect')
0 files changed, 0 insertions, 0 deletions