public ReadFailureException copy(InetSocketAddress address) { return new ReadFailureException( address, getMessage(), this, getConsistencyLevel(), getReceivedAcknowledgements(), getRequiredAcknowledgements(), failed, getFailuresMap(), dataPresent); } }
@Override public ReadFailureException copy() { return new ReadFailureException( getAddress(), getMessage(), this, getConsistencyLevel(), getReceivedAcknowledgements(), getRequiredAcknowledgements(), getFailures(), getFailuresMap(), wasDataRetrieved()); }
return ((WriteFailureException) infos).copy(host); case READ_FAILURE: return ((ReadFailureException) infos).copy(host); case FUNCTION_FAILURE: return new FunctionExecutionException(host, message);
.compareTo(ProtocolVersion.V5) >= 0) { assertThat(e.getFailuresMap()).hasSize(1).containsValue(1); } else { assertThat(e.getFailuresMap()).isEmpty();
return ((WriteFailureException) infos).copy(host); case READ_FAILURE: return ((ReadFailureException) infos).copy(host); case FUNCTION_FAILURE: return new FunctionExecutionException(host, message);
.compareTo(ProtocolVersion.V5) >= 0) { assertThat(e.getFailuresMap()).hasSize(1).containsValue(1); } else { assertThat(e.getFailuresMap()).isEmpty();
@Override public ReadFailureException copy() { return new ReadFailureException(getAddress(), getMessage(), this, getConsistencyLevel(), getReceivedAcknowledgements(), getRequiredAcknowledgements(), getFailures(), wasDataRetrieved()); }
public ReadFailureException copy(InetSocketAddress address) { return new ReadFailureException( address, getMessage(), this, getConsistencyLevel(), getReceivedAcknowledgements(), getRequiredAcknowledgements(), failed, dataPresent); } }
return ((WriteFailureException) infos).copy(host); case READ_FAILURE: return ((ReadFailureException) infos).copy(host); case FUNCTION_FAILURE: return new FunctionExecutionException(host, message);
@Override public ReadFailureException copy() { return new ReadFailureException(getAddress(), getMessage(), this, getConsistencyLevel(), getReceivedAcknowledgements(), getRequiredAcknowledgements(), getFailures(), getFailuresMap(), wasDataRetrieved()); }
public ReadFailureException copy(InetSocketAddress address) { return new ReadFailureException( address, getMessage(), this, getConsistencyLevel(), getReceivedAcknowledgements(), getRequiredAcknowledgements(), failed, dataPresent); } }
return ((WriteFailureException) infos).copy(host); case READ_FAILURE: return ((ReadFailureException) infos).copy(host); case FUNCTION_FAILURE: return new FunctionExecutionException(host, message);
@Override public ReadFailureException copy() { return new ReadFailureException(getAddress(), getMessage(), this, getConsistencyLevel(), getReceivedAcknowledgements(), getRequiredAcknowledgements(), getFailures(), wasDataRetrieved()); }
public ReadFailureException copy(InetSocketAddress address) { return new ReadFailureException( address, getMessage(), this, getConsistencyLevel(), getReceivedAcknowledgements(), getRequiredAcknowledgements(), failed, getFailuresMap(), dataPresent); } }