Package org.thymeleaf.exceptions
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TemplateAssertionException(String assertionExpression, String templateName)
TemplateAssertionException(String assertionExpression, String templateName, int line, int col)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-