@Override
public void eventLoopException(Throwable exception) {
super.eventLoopException(exception);
Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
//ErrorDialog.openError(shell,"Error in Event Loop","An error occurred during processing event: " + exception.getLocalizedMessage(),new Status(IStatus.ERROR,GOIMPlugin.ID,IStatus.OK,"Error occurred during event: " + exception.getLocalizedMessage(),exception));
new GOIMErrorDialog(shell,"Error in Event Loop","An error occurred during processing event: " + exception.getLocalizedMessage(),new Status(IStatus.ERROR,GOIMPlugin.ID,IStatus.OK,"Error occurred during event: " + exception.getLocalizedMessage(),exception),IStatus.ERROR).open();
}