@Override public void stop() throws EmailConnectorException { try { super.stop(); } catch (ServerConnectorException e) { throw new EmailConnectorException("Error is encountered while trying to stop the Email server Connector" + "for service: " + id, e); } if (consumer != null) { this.startUIDNumber = consumer.getStartUIDNumber(); } }