ServerStatePollerType#createPoller should catch CoreException
(instead of Exception)
------------------------------------------------------------------------------------
Key: JBIDE-9523
URL:
https://issues.jboss.org/browse/JBIDE-9523
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: JBossAS/Servers
Affects Versions: 3.3.0.M3
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 3.3.0.M3
see
https://source.jboss.org/cru/REV-JBIDE-4/#c68
{code}
public IServerStatePoller createPoller() {
try {
return (IServerStatePoller)el.createExecutableExtension("class");
//$NON-NLS-1$
} catch( Exception e ) {
IStatus s = new Status(IStatus.ERROR, JBossServerCorePlugin.PLUGIN_ID,
NLS.bind(Messages.CannotLoadServerPoller, el.getAttribute("name")), e);
//$NON-NLS-1$
JBossServerCorePlugin.getDefault().getLog().log(s);
}
return null;
}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: