Hi,
I am currently experimenting with java code loaded as a basex module. There I throw custom exceptions, which I want to catch and handle in XQuery. Unfortunately, the information about the thrown Java exception seems to get lost. What options do I have to throw my own error messages from my java module that do not immediately become "XPTY0004"? Many thanks and best regards Andreas