Update error message to be more specific

PiperOrigin-RevId: 629405290
This commit is contained in:
sheenachhabra 2024-04-30 07:26:03 -07:00 committed by Copybara-Service
parent 6956d8099a
commit 72013446c4

View file

@ -769,7 +769,7 @@ import java.util.Locale;
for (int i = 0; i < writtenChunkOffsets.size(); i++) {
long chunkOffset = writtenChunkOffsets.get(i);
checkState(chunkOffset <= UNSIGNED_INT_MAX_VALUE, "Only 32-bit offset is allowed");
checkState(chunkOffset <= UNSIGNED_INT_MAX_VALUE, "Only 32-bit chunk offset is allowed");
contents.putInt((int) chunkOffset); // chunk_offset; unsigned int(32)
}