{
super();
this.clearCursors();
- uniprotSearchEndpoint = Cache.getDefault("UNIPROT_DOMAIN",
+ uniprotSearchEndpoint = Cache.getDefault("UNIPROT_2022_DOMAIN",
DEFAULT_UNIPROT_DOMAIN) + "/uniprotkb/search";
}
uniprotRestRequest, xTotalResults);
} catch (Exception e)
{
- Console.debug("Exception caught from response", e);
+ Console.warn("Problem with the query: " + e.getMessage());
+ Console.debug("Exception stacktrace:", e);
String exceptionMsg = e.getMessage();
if (exceptionMsg.contains("SocketException"))
{
}
} catch (MalformedURLException e)
{
- // TODO Auto-generated catch block
- e.printStackTrace();
+ Console.warn("Could not obtain next page 'cursor' value from 'u");
}
return null;
}