@Override public void close() throws ConnectorDataTransmissionException { try { super.close(); this.broker.stop(); // Cannot be avoided as the broker throws Exception. } catch (final Exception e) { // NOCS, NOPMD throw new ConnectorDataTransmissionException(e.getMessage(), e); } } }
@Override public void close() throws ConnectorDataTransmissionException { try { super.close(); this.broker.stop(); // Cannot be avoided as the broker throws Exception. } catch (final Exception e) { // NOCS, NOPMD throw new ConnectorDataTransmissionException(e.getMessage(), e); } } }