SIGN IN SIGN UP

Throw string-specific index exception in `ParsableByteArray.readString`

This change throws `StringIndexOutOfBoundsException` instead of the
generic `IndexOutOfBoundsException` to maintain compatibility with
existing callers.

We also enable `ParsableByteArray` limit enforcement in
`ParsableByteArrayTest` to prevent backsliding and add tests for the
limit enforcement.

PiperOrigin-RevId: 938546274
I
ibaker committed
ac8923073e8187e2dbef9dd0e2bc905a89526b74
Parent: d1df78e
Committed by Copybara-Service <copybara-worker@google.com> on 6/26/2026, 12:54:45 PM