msg = new FullAbortRequest();
break;
default:
throw new Exception("Wrong type " + type + " (" + Integer.toHexString(type) + ") " + buf.toString().length());
}
msg.readObject(buf);
} catch (IndexOutOfBoundsException e) {
// Not enough byte in the buffer, reset to the start for the next try
buf.resetReaderIndex();
return null;
} catch (EOFException e) {