throw new ServerDbException("No password has been specified, and no source or target ID provided.");
}
private String lookupPasswordFromDeployedSource(SourceId guid) throws ServerDbException, ServerAccessException {
try {
GuidToIdMapper mapper = new GuidToIdDbMapper(tranDbConnection);
Long id = mapper.getId(guid);
if (id != null) {
// No need to close srcTab in a finally block, since we are closing
// the connection itself explicitly
SourcesTab srcTab = new SourcesTab(tranDbConnection);
SourcesTabRow row = srcTab.query(id.intValue());