return context.evaluate(template).getString();
TemplateBuffer buffer= context.evaluate(template); if (buffer == null) return ""; else return buffer.getString();
	private String getCatchBody(ITypeBinding exception, String name, String lineSeparator) throws CoreException {		Template template= CodeTemplates.getCodeTemplate(CodeTemplates.CATCHBLOCK);		if (template == null) {			return ""; //$NON-NLS-1$		}				CodeTemplateContext context= new CodeTemplateContext(template.getContextTypeName(), fJavaProject, lineSeparator, 0);		context.setVariable(CodeTemplateContextType.EXCEPTION_TYPE, exception.getName());		context.setVariable(CodeTemplateContextType.EXCEPTION_VAR, name); //$NON-NLS-1$		return context.evaluate(template).getString();	}