Class 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:
    Serialized Form
    • Constructor Detail

      • TemplateAssertionException

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

        public TemplateAssertionException​(String assertionExpression,
                                          String templateName)