org.thymeleaf.exceptions
Class TemplateAssertionException

Object
  extended by Throwable
      extended by Exception
          extended by RuntimeException
              extended by 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
TemplateAssertionException(String assertionExpression, String templateName)
           
TemplateAssertionException(String assertionExpression, String templateName, Integer line)
           
 
Method Summary
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TemplateAssertionException

public TemplateAssertionException(String assertionExpression,
                                  String templateName,
                                  Integer line)

TemplateAssertionException

public TemplateAssertionException(String assertionExpression,
                                  String templateName)


Copyright © 2013 The THYMELEAF team. All Rights Reserved.