Error messages from BaseX.main()
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
Hi David,
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.
In BaseX, all main() functions serve as main entry points. It’s probably better to instantiate a new BaseX class instead. Hope this helps, Christian
Instantiating the BaseX class worked perfectly, thanks! David Sent from my iPhone On Jun 19, 2013, at 4:01 AM, "Christian Grün" <christian.gruen@gmail.com> wrote:
Hi David,
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.
In BaseX, all main() functions serve as main entry points. It’s probably better to instantiate a new BaseX class instead.
Hope this helps, Christian
participants (2)
-
Brock, David -
Christian Grün