Bug 39038 method SWTUtil.getButtonHeigthHint is misspelled [misc]
"getButtonHeigthHint" should be spelled "getButtonHeightHint". The "Height" part is spelled incorrectly. This is an internal API -- package org.eclipse.jdt.internal.ui.util -- so this is not a user-visible bug, strictly speaking, but it would be trivial to fix.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
} catch (CoreException e) {
			openReadErrorDialog(e);
		}
		return super.performCancel();
	}
	
	private void openReadErrorDialog(CoreException e) {
		String title= TemplateMessages.getString("TemplatePreferencePage.error.read.title"); 
		
		if (e.getStatus().getCode() == IJavaStatusConstants.TEMPLATE_PARSE_EXCEPTION) {
			String message= e.getStatus().getException().getLocalizedMessage();
			if (message != null)
				message= TemplateMessages.getFormattedString("TemplatePreferencePage.error.parse.message", message); 
			else
				message= TemplateMessages.getString("TemplatePreferencePage.error.read.message"); 
			MessageDialog.openError(getShell(), title, message);
		} else {
			String message= TemplateMessages.getString("TemplatePreferencePage.error.read.message"); 
			ExceptionHandler.handle(e, getShell(), title, message);		
		}
	}
	
	private void openWriteErrorDialog(CoreException e) {
		ErrorDialog.openError(getShell(),
			TemplateMessages.getString("TemplatePreferencePage.error.write.title"), 
			null, e.getStatus());		
	}
		
}