public final class TemplateNotFoundException
extends java.io.FileNotFoundException
Thrown when
Configuration.getTemplate(String)
(or similar) doesn't find a template.
This extends
FileNotFoundException
for backward compatibility, but in fact has nothing to do with files, as
FreeMarker can load templates from many other sources.
Since:
2.3.22
See Also:
MalformedTemplateNameException
,
Configuration.getTemplate(String)
,
Serialized Form
TemplateNotFoundException
(java.lang.String templateName,
java.lang.Object customLookupCondition,
java.lang.String message)
TemplateNotFoundException
public TemplateNotFoundException(java.lang.String templateName,
java.lang.Object customLookupCondition,
java.lang.String message)
getCustomLookupCondition
public java.lang.Object getCustomLookupCondition()