@Override public void disconnect(final SConnector sConnector) throws SConnectorException { try { sConnector.disconnect(); } catch (final SConnectorException e) { throw e; } catch (final Exception t) { throw new SConnectorException(t); } }
void disconnectSilently(final SConnector sConnector) { try { sConnector.disconnect(); } catch (final Exception t) { if (loggerService.isLoggable(getClass(), TechnicalLogSeverity.WARNING)) { loggerService.log( getClass(), TechnicalLogSeverity.WARNING, "An error occured while disconnecting the connector: " + sConnector, t); } } }