throw new SmppChannelException("Channel was closed after sending request, but before receiving response", cause);
} else {
throw new UnrecoverablePduException(cause.getMessage(), cause);
}
} else if (future.isCancelled()) {
throw new RecoverablePduException("Request was cancelled");
} else {
throw new UnrecoverablePduException("Unable to sendRequestAndGetResponse successfully (future was in strange state)");
}
}