[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9522) ServerAttributeHelper#save catches Exception instead of CoreException

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


ServerAttributeHelper#save catches Exception instead of CoreException
---------------------------------------------------------------------

                 Key: JBIDE-9522
                 URL: https://issues.jboss.org/browse/JBIDE-9522
             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


{code}
	public IServer save() {
		try {
			return save(false, new NullProgressMonitor());
		} catch( Exception e ) {
			IStatus s = new Status(IStatus.ERROR, JBossServerCorePlugin.PLUGIN_ID,
					Messages.ServerSaveFailed, e);
			JBossServerCorePlugin.getDefault().getLog().log(s);
		}
		return null;
	}	
{code}

See https://source.jboss.org/cru/REV-JBIDE-4/#c77

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