Class TemplateValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.juneau.commons.template.TemplateValidationException
- All Implemented Interfaces:
Serializable
Thrown by
TemplateResolver.validate(String, TemplateCatalog) when a template has problems.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TemplateValidationException
Constructor.- Parameters:
problems- The problems, in source order. Must not be empty.
-
-
Method Details
-
problems
Returns the problems.- Returns:
- An unmodifiable list, in source order.
-