* @see org.xtreemfs.babudb.replication.service.clients.ClientResponseFuture.
* ClientResponseAvailableListener#requestFailed(java.lang.Exception)
*/
@Override
public void requestFailed(Exception e) {
BabuDBException be = new BabuDBException(
ErrorCode.REPLICATION_FAILURE, e.getMessage());
if (e instanceof ErrorCodeException) {
be = new BabuDBException(mapTransmissionError(
((ErrorCodeException) e).getCode()),e.getMessage());
}
requestFuture.failed(be);
}