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

LocalJBoss7BehaviorDelegate#dispose swallows Exceptions without any logging

XMLWordPrintable

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

      LocalJBoss7Behaviordelegate#dispose swallows an Exception but does not logging:

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

      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.

            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: