001    package com.khubla.pragmatach.plugin.freemarker;
002    
003    import java.io.Writer;
004    
005    import freemarker.core.Environment;
006    import freemarker.template.TemplateException;
007    import freemarker.template.TemplateExceptionHandler;
008    
009    /**
010     * @author tome
011     */
012    public class TemplateExceptionHandlerImpl implements TemplateExceptionHandler {
013       @Override
014       public void handleTemplateException(TemplateException templateException, Environment environment, Writer writer) throws TemplateException {
015          throw templateException;
016       }
017    }