I want to set a custom error handler, which is called each time an unexpected error occurs. How can I achieve that?
My understanding was to replace the Provider<StatusHandler>, is that the right approach? And if so, where should I set it?
Best regards and thanks for any kind of help
I think I was a little imprecise and I got a little deeper into this topic by now, but still don't achieve what I desire.
I've got my RCP. Sometimes an error occurs that wasn't predictable. The the standard JFace dialog shows up with the error message. This error dialog I want to be replaced by my own dialog. A little research led me to the JFace Policy. There one can set a StatusHandler. So I replaced it, but its show-method never gets called.
I also added an ErrorSupportProvider to the Policy. That only adds a Control to the default ErrorDialog.
Is anyone experienced in this?