Errors signaled when bad array indices are passed, or on trying to store a bad value into a Java array.
lw-ji
Instances of the condition class java-out-of-bounds-error
are signaled when a bad index value is passed to jaref or jvref or their setters, or bad start/end values are passed to map-java-object-array and other functions which access arrays.
The condition class java-storing-wrong-type-error
is signaled on an attempt to store value of wrong type into a Java array by (setf jvref)
, (setf jaref)
or map-java-object-array.
You can use the java-array-error readers java-array-error-caller and java-array-error-array on these conditions.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:46