I have a SWT desktop application, which will communicates with different web services.
Now we are trying to apply exception handling.
Requirement: If application terminate unexpectedly due to various reasons, before dies looking to write some log messages.
Question: How can i handle java process termination events for my application to do some logging before it dies unexpectedly?
Thanks in advance.