// so that when the below call to connect() tried to make a remote call, JBoss Remoting
// doesn't throw an InterruptedException and short circuit our attempts to reconnect.
log.debug("Ignoring facet timeout in order to reconnect to Profile Service.");
}
try {
this.connection = connectionProvider.connect();
} catch (RuntimeException e) {
Throwable rootCause = ExceptionUtils.getRootCause(e);
rootCause = rootCause == null ? e : rootCause;
if (rootCause instanceof SecurityException) {
if (log.isDebugEnabled()) {