Bug 93352 [ErrorHandling] IDEExceptionHandler should not use magic number
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEExceptionHandler.java
* </p>
 */
public final class IDEExceptionHandler {
    private int exceptionCount = 0;
    private InternalErrorDialog dialog;
    private Shell defaultParent = new Shell();
    private boolean closing = false;
    private IWorkbenchConfigurer workbenchConfigurer;
    
    private static String MSG_OutOfMemoryError = IDEWorkbenchMessages.FatalError_OutOfMemoryError;
    private static String MSG_StackOverflowError = IDEWorkbenchMessages.FatalError_StackOverflowError;
    private static String MSG_VirtualMachineError = IDEWorkbenchMessages.FatalError_VirtualMachineError;
    private static String MSG_SWTError = IDEWorkbenchMessages.FatalError_SWTError;
    private static String MSG_FATAL_ERROR = IDEWorkbenchMessages.FatalError;
    private static String MSG_FATAL_ERROR_Recursive = IDEWorkbenchMessages.FatalError_RecursiveError;
    private static String MSG_FATAL_ERROR_RecursiveTitle = IDEWorkbenchMessages.Internal_error;
    /**
     * Creates the exception handle for the IDE application
     */
    public IDEExceptionHandler(IWorkbenchConfigurer configurer) {
        super();
        workbenchConfigurer = configurer;
    }
    /**
     * Handles an event loop exception
     */
    public void handleException(Throwable t) {
        try {
            exceptionCount++;
            if (exceptionCount > 1) {