[TAV-728] Add Unknown Host Exception in PluginManager Created: 2008-02-26  Updated: 2013-12-11  Resolved: 2008-02-26

Status: Closed
Project: myGrid
Component/s: None
Affects Version/s: None
Fix Version/s: 1.7.1

Type: Improvement Priority: Trivial
Reporter: Ian Dunlop Assignee: Ian Dunlop
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


A user had a typo in a hostname from where he hoped to retrieve a plugin. The
Taverna error message was missleading, just indicating that there was no
plugin at that site rather than stating that the site did not exist:

at line 386 introduce an extra catch for the
UnknownHostException... something alike

try {
statusCode = client.executeMethod(getPlugins);
} catch (java.net.UnknownHostException e) {
logger.warn("Could not fetch plugins from host non-existing nost.",e);
return plugins;
} catch (IOException e) {
logger.warn("Could not fetch plugins " + pluginsXML, e);
return plugins;

Comment by Ian Dunlop [ 2008-02-26 ]

Simple change - 5 mins work

Generated at Sat Oct 24 16:14:24 BST 2020 using JIRA 6.1.2#6157-sha1:98c729218aad6de1537eb8e98889ee5562c90d96.