All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.x5.template.SnippetError Maven / Gradle / Ivy

There is a newer version: 3.6.2
Show newest version
package com.x5.template;

import java.io.Writer;

public class SnippetError extends SnippetPart
{
    public SnippetError(String errMsg)
    {
        super(errMsg);
        super.setLiteral(true);
    }

    public void render(Writer out, Chunk rules, String origin, int depth)
    throws java.io.IOException
    {
        if (rules == null || rules.renderErrorsToOutput()) {
            out.append(snippetText);
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy