




java-definition-error-class-name
java-definition-error-name
The condition classes java-class-error, java-method-error and java-field-error are signaled when code that is defined by the Java interface (for example, define-java-caller, define-field-accessor) fails to execute because the Java entity that it expects is not found.
They are subclasses of java-definition-error. java-definition-error is never signaled, and you should not signal these conditions.
The errors normally occur because the definition is wrong in some sense, but they can also happen if the Java virtual machine misses some of the classes or has a class definition that differs from what it should be.
java-definition-error-name returns the name of the Lisp function that fails, for example the name in the define-java-caller form.
java-definition-error-class-name returns the class name in the definition.
java-method-error-method-name returns the method name. If it is a constructor (define-java-constructor), java-method-error-method-name returns nil.
java-method-error-args-num returns the number of arguments that were passed to the call.
java-field-error-field-name returns the field name.
java-field-error-static-p queries whether the field was defined as static.
LispWorks User Guide and Reference Manual - 20 Sep 2017