Bug 175117 [StatusHandling] Cannot generally plug status support into ErrorDialogs
M5 Currently we have several ways to get ErrorDialogs that do not go through the status handling - we can either call the constructor or use our own class (there are 10 in the SDK alone). Our strategy of overriding the static method hits many cases but there are many quite common ones we will miss (like CVS errors for instance). I think we want to look at a way to extend the current error dialog rather than override the static method.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/ErrorDialog.java
incrementNesting= true;
       	}
        	
        if (!isCoreException && t != null) {
        	
	        StringBuffer sb = new StringBuffer();
	        for (int i = 0; i < nesting; i++) {
	            sb.append(NESTING_INDENT);
	        }
	        String message = t.getLocalizedMessage();
	        if (message == null) {
				message = t.toString();
			}
	        	
	        sb.append(message);
	        listToPopulate.add(sb.toString());
	        incrementNesting= true;
        }
        
        if (incrementNesting) {
			nesting++;
		}
        
        
        if (isCoreException) {
            CoreException ce = (CoreException)t;
            IStatus eStatus = ce.getStatus();
            
            if (message == null || message.indexOf(eStatus.getMessage()) == -1) {
                populateList(listToPopulate, eStatus, nesting, true);