Bug 93352 [ErrorHandling] IDEExceptionHandler should not use magic number
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEExceptionHandler.java
if (closing) {
                    return;
                }
                Shell parent = defaultParent;
                if (dialog != null && dialog.getShell() != null
                        && !dialog.getShell().isDisposed())
                    parent = dialog.getShell();
                MessageBox box = new MessageBox(parent, SWT.ICON_ERROR
                        | SWT.YES | SWT.NO | SWT.SYSTEM_MODAL);
                box.setText(MSG_FATAL_ERROR_RecursiveTitle);
                box.setMessage(MessageFormat.format(MSG_FATAL_ERROR,
                        new Object[] { MSG_FATAL_ERROR_Recursive }));
                int result = box.open();
                if (result == SWT.YES) {
                    closeWorkbench();
                }
            } else {
                if (openQuestionDialog(t)) {
                    closeWorkbench();
                }
            }
        } finally {
            exceptionCount--;
        }
    }
    /**
     * Close the workbench and make sure all exceptions are handled.
     */
    private void closeWorkbench() {
        if (closing) {