添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
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()
The custom lookup condition with which the template was requested, or null if there's no such condition. See the customLookupCondition parameter of Configuration.getTemplate(String, java.util.Locale, Object, String, boolean, boolean) .