class VelocityEngineFactory {

    /**
     * <p>getEngine.</p>
     *
     * @return a {@link VelocityEngine} object
     */
    public static VelocityEngine getEngine() {<FILL_FUNCTION_BODY>}

}


        try {
            val props = new Properties();
            props.setProperty(RuntimeConstants.INPUT_ENCODING, "UTF-8");
            props.setProperty(RuntimeConstants.RESOURCE_LOADER, "classpath");
            props.setProperty("resource.loader.string.class", StringResourceLoader.class.getName());
            props.setProperty("resource.loader.classpath.class", ClasspathResourceLoader.class.getName());
            props.setProperty(RuntimeConstants.RESOURCE_LOADERS, "classpath,string");
            val engine = new VelocityEngine();
            engine.init(props);
            return engine;
        } catch (final Exception e) {
            throw new TechnicalException("Error configuring velocity", e);
        }

    
<no_super_class>