Package org.thymeleaf.exceptions
Class TemplateAssertionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.thymeleaf.exceptions.TemplateAssertionException
-
- All Implemented Interfaces:
java.io.Serializable
public class TemplateAssertionException extends java.lang.RuntimeExceptionException raised when a template assertion is not valid.
In the Standard Dialects, this exception might be raised by the
th:assertattribute.- Since:
- 2.1.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringASSERTION_MESSAGEprivate static java.lang.StringASSERTION_MESSAGE_LINE_COLprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description TemplateAssertionException(java.lang.String assertionExpression, java.lang.String templateName)TemplateAssertionException(java.lang.String assertionExpression, java.lang.String templateName, int line, int col)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.StringcreateMessage(java.lang.String assertionExpression, java.lang.String templateName, java.lang.Integer line, java.lang.Integer col)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
ASSERTION_MESSAGE
private static final java.lang.String ASSERTION_MESSAGE
- See Also:
- Constant Field Values
-
ASSERTION_MESSAGE_LINE_COL
private static final java.lang.String ASSERTION_MESSAGE_LINE_COL
- See Also:
- Constant Field Values
-
-