Tries to report an error to the Java host.
lw-ji
report-error-to-java-host error-string log-file-string => result
error-string⇩ |
A string. |
log-file-string⇩ |
A string or nil . |
result⇩ |
A boolean. |
The function report-error-to-java-host
tries to report an error to the Java host.
It is assumed that error-string specifies the error and log-file-string specifies a file where a log of the error is written. report-error-to-java-host
funcalls the function that was passed as the report-error-to-java-host argument to init-java-interface, or the default function, with these two arguments.
On Android the keyword argument to init-java-interface is passed with a function that invokes the user Java error reporters (set in Java by com.lispworks.Manager.setErrorReporter and com.lispworks.Manager.setGuiErrorReporter).
The default function just prints to cl:*terminal-io*, which may be useful enough for debugging.
result is t
if there is a function, and nil
otherwise.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:46