Package org.thymeleaf.exceptions

Examples of org.thymeleaf.exceptions.TemplateAssertionException


        for (final IStandardExpression expression : expressions) {
            final Object expressionResult = expression.execute(arguments.getConfiguration(), arguments);
            final boolean expressionBooleanResult = EvaluationUtil.evaluateAsBoolean(expressionResult);
            if (!expressionBooleanResult) {
                throw new TemplateAssertionException(expression.getStringRepresentation(),
                        arguments.getTemplateName(), element.getLineNumber());
            }
        }

    }
View Full Code Here

TOP

Related Classes of org.thymeleaf.exceptions.TemplateAssertionException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.