[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9523) ServerStatePollerType#createPoller should catch CoreException (instead of Exception)

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Thu Aug 11 06:58:04 EDT 2011


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
    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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list