Class TemplateAssertionException

Object
Throwable
Exception
RuntimeException
org.thymeleaf.exceptions.TemplateAssertionException
All Implemented Interfaces:
Serializable

public class TemplateAssertionException extends RuntimeException

Exception raised when a template assertion is not valid.

In the Standard Dialects, this exception might be raised by the th:assert attribute.

Since:
2.1.0
Author:
Daniel Fernández
See Also:
  • Constructor Details

    • TemplateAssertionException

      public TemplateAssertionException(String assertionExpression, String templateName, int line, int col)
    • TemplateAssertionException

      public TemplateAssertionException(String assertionExpression, String templateName)