urlLink = new UrlLink(link);
} catch (Exception foo)
{
- Cache.log.error("Exception for URLLink '" + link + "'", foo);
+ Cache.error("Exception for URLLink '" + link + "'", foo);
continue;
}
if (!urlLink.isValid())
{
- Cache.log.error(urlLink.getInvalidMessage());
+ Cache.error(urlLink.getInvalidMessage());
continue;
}
int[] localRange = mf.getMappedPositions(start, end);
if (localRange == null)
{
+ // e.g. variant extending to stop codon so not mappable
return;
}
start = localRange[0];
urlLink = new GroupUrlLink(link);
} catch (Exception foo)
{
- Cache.log.error("Exception for GroupURLLink '" + link + "'", foo);
+ Cache.error("Exception for GroupURLLink '" + link + "'", foo);
continue;
}
if (!urlLink.isValid())
{
- Cache.log.error(urlLink.getInvalidMessage());
+ Cache.error(urlLink.getInvalidMessage());
continue;
}
final String label = urlLink.getLabel();