diff --git a/annotation/src/main/java/lcsb/mapviewer/annotation/services/ChemicalParser.java b/annotation/src/main/java/lcsb/mapviewer/annotation/services/ChemicalParser.java index 917c5a4525908f3896f416bf78604deb839df474..20351481b2d36412f64f2277bafa28ca1d9a6bdc 100644 --- a/annotation/src/main/java/lcsb/mapviewer/annotation/services/ChemicalParser.java +++ b/annotation/src/main/java/lcsb/mapviewer/annotation/services/ChemicalParser.java @@ -236,7 +236,7 @@ public class ChemicalParser extends CachableInterface implements IExternalServic } } - } catch (FileNotFoundException e) { + } catch (WrongResponseCodeIOException e) { // it means that there are no results for this query } catch (IOException e) { throw new ChemicalSearchException("ctdbase service unavailable", e);