All Manuals > LispWorks® User Guide and Reference Manual > 39 The LW-JI Package

java-out-of-bounds-error

java-storing-wrong-type-error Condition Classes

Summary

Errors signaled when bad array indices are passed, or on trying to store a bad value into a Java array.

Package

lw-ji

Superclasses

java-array-error

Description

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