Bug 147848 [Dialogs] Context Menu > Copy in ErrorDialog ignores details
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/ErrorDialog.java
boolean isCoreException= t instanceof CoreException;
        boolean incrementNesting= false;
        
       	if (includeStatus) {
	        StringBuffer sb = new StringBuffer();
	        for (int i = 0; i < nesting; i++) {
	            sb.append(NESTING_INDENT);
	        }
	        String message = buildingStatus.getMessage();
            sb.append(message);
	        listToPopulate.add(sb.toString());
	        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;
        }