Package freemarker.template
Class MalformedTemplateNameException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- freemarker.template.MalformedTemplateNameException
-
- All Implemented Interfaces:
java.io.Serializable
public class MalformedTemplateNameException extends java.io.IOExceptionIndicates that the template name given was malformed according theTemplateNameFormatin use. Note that for backward compatibility,TemplateNameFormat.DEFAULT_2_3_0doesn't throw this exception,TemplateNameFormat.DEFAULT_2_4_0does. This exception extendsIOExceptionfor backward compatibility.- Since:
- 2.3.22
- See Also:
TemplateNotFoundException,Configuration.getTemplate(String), Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MalformedTemplateNameException(java.lang.String templateName, java.lang.String malformednessDescription)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMalformednessDescription()java.lang.StringgetTemplateName()
-