159160161162163164165166
return output.toString(); } catch (final Throwable throwable) { throw new TemplateEngineException(throwable); } }
310311312313314315316317318319
this.velocityEngine.evaluate(this.velocityContext, writer, LOG_TAG, expression); evaluatedExpression = writer.toString(); } catch (final Throwable throwable) { throw new TemplateEngineException(throwable); } } return evaluatedExpression; }