public void processGenericNack(Command pduHeader, byte[] pdu,
BaseResponseHandler responseHandler) throws IOException {
PendingResponse<Command> pendingResp = responseHandler
.removeSentItem(pduHeader.getSequenceNumber());
if (pendingResp != null) {
pendingResp.doneWithInvalidResponse(new GenericNackResponseException(
"Receive generic_nack with command_status "
+ pduHeader.getCommandStatusAsHex(), pduHeader.getCommandStatus()));
logger.error("Receive generick_nack. "
+ "command_status=" + pduHeader.getCommandStatusAsHex()
+ ", sequence_number="