Using Eclipse RCP 3.x, it is possible to create a custom AbstractStatusHandler to intercept platform exceptions. One way to do this, is to override the getWorkbenchErrorHandler() method in the ApplicationWorkbenchAdvisor class like this:
@Override
public synchronized AbstractStatusHandler getWorkbenchErrorHandler()
{
if (m_errorHandler == null)
{
m_errorHandler = new MyWorkbenchErrorHandler(this);
}
return m_errorHandler;
}
After doing a lot of research in Eclipse forums, stackoverflow and in the Lars Vogel Eclipse 4 book, I have not been able to find an equivalent way to do this using e4.
Any help would be appreciated.