/** * Processes the template. Declared final because we don't ever want to do more than process * the template so it can be safe to call the processTemplate() method directly (e.g. in the * {@link org.codehaus.enunciate.apt.EnunciateAnnotationProcessor}). */ @Override protected final void doGenerate() throws EnunciateException, IOException { try { doFreemarkerGenerate(); } catch (TemplateException e) { throw new EnunciateException(e); } }
/** * Processes the template. Declared final because we don't ever want to do more than process * the template so it can be safe to call the processTemplate() method directly (e.g. in the * {@link org.codehaus.enunciate.apt.EnunciateAnnotationProcessor}). */ @Override protected final void doGenerate() throws EnunciateException, IOException { try { doFreemarkerGenerate(); } catch (TemplateException e) { throw new EnunciateException(e); } }