[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9519) LocalJBoss7BehaviorDelegate#dispose swallows Exceptions without any logging

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Thu Aug 11 05:50:47 EDT 2011


LocalJBoss7BehaviorDelegate#dispose swallows Exceptions without any logging
---------------------------------------------------------------------------

                 Key: JBIDE-9519
                 URL: https://issues.jboss.org/browse/JBIDE-9519
             Project: Tools (JBoss Tools)
          Issue Type: Enhancement
            Reporter: Andre Dietisheim


LocalJBoss7Behaviordelegate#dispose swallows an Exception but does not logging:

{code}
	@Override
	public void dispose() {
		try {
			JBoss7ManagerUtil.dispose(getService());
		} catch(Exception e) {
			// ignore
		}
	}
{code}

First problem is that the code does not make any distinction of the exceptions that may occur and the 2nd one is that no logging occurrs.

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