I want to call BaseX.main() from a Java GUI and need to display errors to the user.  There are no exceptions thrown by this method, and I do not see a way to redirect so that I can capture and display.

 

Thanks,
David