boolean hasResponse = potentialResponse != null;
int backupsExpected = expectedBackupCount;
int backupsCompleted = availableBackups;
if (hasResponse) {
return new OperationTimeoutException("No response for " + (pollTimeoutMs * pollCount) + " ms."
+ " Aborting invocation! " + toString()
+ " Not all backups have completed "
+ " backups-expected: " + backupsExpected
+ " backups-completed: " + backupsCompleted
+ " reinvocations: " + reinvocations
);
} else {
return new OperationTimeoutException("No response for " + (pollTimeoutMs * pollCount) + " ms."
+ " Aborting invocation! " + toString()
+ " No response has been send "
+ " backups-expected: " + backupsExpected
+ " backups-completed: " + backupsCompleted
+ " reinvocations: " + reinvocations