@Override public List<IFileSpec> getDepotFiles(@Nonnull final List<IFileSpec> fileSpecs, final boolean allRevs) throws ConnectionException, AccessException { List<IFileSpec> depotFileSpecs = new ArrayList<>(); try { depotFileSpecs = getDepotFiles(fileSpecs, new GetDepotFilesOptions().setAllRevs(allRevs)); } catch (final ConnectionException | AccessException exc) { throw exc; } catch (P4JavaException exc) { // TODO Why does RequestException get handled differently depending // on the call? Log.warn("Unexpected exception in IServer.getDepotFiles: %s", exc); } return depotFileSpecs; }
@Override public List<IFileSpec> getDepotFiles(@Nonnull final List<IFileSpec> fileSpecs, final boolean allRevs) throws ConnectionException, AccessException { List<IFileSpec> depotFileSpecs = new ArrayList<>(); try { depotFileSpecs = getDepotFiles(fileSpecs, new GetDepotFilesOptions().setAllRevs(allRevs)); } catch (final ConnectionException | AccessException exc) { throw exc; } catch (P4JavaException exc) { // TODO Why does RequestException get handled differently depending // on the call? Log.warn("Unexpected exception in IServer.getDepotFiles: %s", exc); } return depotFileSpecs; }