On 04/18/2018 03:30 PM, Roger Riggs wrote:
> Which roughly reads as:
> 
>     Index %d out-of-bounds for length %d

"out-of-bounds" shouldn't be hyphenated because it's not a compound
adjective.  Besides that, it's unnecessary because you already know
its an ArrayIndexOutOfBoundsException.

      Index %d in array[%d]

is all you need.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

Reply via email to