Multiple exception blocks handling is nice if something is effectively handled in the catch block, remove code such as :
} catch (final WSNotificationNotImplementedException e) {
logger.log(Level.WARNING, "[" + e.getClass().getSimpleName()
+ "] -An error occurs during \"clearSubsciptions\" request proccess");
} catch (final WSNotificationException e) { logger.log(Level.WARNING, "[" + e.getClass().getSimpleName() + "] -An error occurs during "clearSubsciptions" request proccess"); } } catch (final WSAddressingException e) {
logger.log(Level.WARNING, "[" + e.getClass().getSimpleName()
+ "] -An error occurs during \"clearSubsciptions\" request proccess");
} catch (final WSNotificationExtensionException e) { logger.log(Level.WARNING, "[" + e.getClass().getSimpleName() + "] -An error occurs during "clearSubsciptions" request proccess"); } } catch (final IOException e) {
logger.log(Level.WARNING, "[" + e.getClass().getSimpleName()
+ "] -An error occurs during \"clearSubsciptions\" request proccess");
}
which is not very useful...