@Override public DriverException copy() { return new AuthenticationException(address, getMessage(), this); } }
logger.error( "Authentication error while creating additional connection (error is: {})", e.getMessage()); return false; } catch (UnsupportedProtocolVersionException e) {
else currentAttempt.compareAndSet(handlerFuture, null); } catch (AuthenticationException e) { logger.error(e.getMessage()); long nextDelay = schedule.nextDelayMs(); if (onAuthenticationException(e, nextDelay)) {
@Override public DriverException copy() { return new AuthenticationException(address, getMessage(), this); } }
@Override public DriverException copy() { return new AuthenticationException(address, getMessage(), this); } }
@Override public DriverException copy() { return new AuthenticationException(address, getMessage(), this); } }
@Override public DriverException copy() { return new AuthenticationException(getMessage(), this, address); } }
logger.error("Authentication error while creating additional connection (error is: {})", e.getMessage()); return false; } catch (UnsupportedProtocolVersionException e) {
public Boolean call() { logger.debug("Adding {} to list of queried hosts", host); try { HostConnectionPool previous = pools.put(host, new HostConnectionPool(host, distance, SessionManager.this)); if (previous != null) previous.closeAsync(); // The previous was probably already shutdown but that's ok return true; } catch (AuthenticationException e) { logger.error("Error creating pool to {} ({})", host, e.getMessage()); cluster.manager.signalConnectionFailure(host, new ConnectionException(e.getAddress(), e.getMessage()), isHostAddition); return false; } catch (UnsupportedProtocolVersionException e) { logger.error("Error creating pool to {} ({})", host, e.getMessage()); cluster.manager.signalConnectionFailure(host, new ConnectionException(e.address, e.getMessage()), isHostAddition); return false; } catch (ConnectionException e) { logger.debug("Error creating pool to {} ({})", host, e.getMessage()); cluster.manager.signalConnectionFailure(host, e, isHostAddition); return false; } } });
logger.error("Authentication error while creating additional connection (error is: {})", e.getMessage()); return false; } catch (UnsupportedProtocolVersionException e) {
logger.error("Authentication error while creating additional connection (error is: {})", e.getMessage()); closeAsync(); return false;
logger.error("Authentication error while creating additional connection (error is: {})", e.getMessage()); return false; } catch (UnsupportedProtocolVersionException e) {
currentAttempt.compareAndSet(handlerFuture, null); } catch (AuthenticationException e) { logger.error(e.getMessage()); long nextDelay = schedule.nextDelayMs(); if (onAuthenticationException(e, nextDelay)) {
currentAttempt.compareAndSet(handlerFuture, null); } catch (AuthenticationException e) { logger.error(e.getMessage()); long nextDelay = schedule.nextDelayMs(); if (onAuthenticationException(e, nextDelay)) {
currentAttempt.compareAndSet(localFuture, null); } catch (AuthenticationException e) { logger.error(e.getMessage()); long nextDelay = schedule.nextDelayMs(); if (onAuthenticationException(e, nextDelay)) {
currentAttempt.compareAndSet(handlerFuture, null); } catch (AuthenticationException e) { logger.error(e.getMessage()); long nextDelay = schedule.nextDelayMs(); if (onAuthenticationException(e, nextDelay)) {