throw exception if read -1 and not noneChunkedOrLength.