Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9523

ServerStatePollerType#createPoller should catch CoreException (instead of Exception)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.M3
    • 3.3.0.M3
    • server
    • None

      see https://source.jboss.org/cru/REV-JBIDE-4/#c68

      	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;
      	}
      

            adietish@redhat.com André Dietisheim
            adietish@redhat.com André Dietisheim
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: