Uses of Class freemarker.template.TemplateException

Uses in package freemarker.template

Classes derived from freemarker.template.TemplateException

class
Template model implementation classes should throw this exception if requested data cannot be retrieved.

Methods with parameter type freemarker.template.TemplateException

void
handle the exception.

Methods which throw type freemarker.template.TemplateException

Environment
Template.createProcessingEnvironment(Object rootMap, Writer out)
Same as createProcessingEnvironment(rootMap, out, null).
Environment
Template.createProcessingEnvironment(Object rootMap, Writer out, ObjectWrapper wrapper)
Creates a Environment object, using this template, the data model provided as the root map object, and the supplied object wrapper to convert map elements to template models.
void
handle the exception.
void
Template.process(Object rootMap, Writer out)
Processes the template, using data from the map, and outputs the resulting text to the supplied Writer The elements of the map are converted to template models using the default object wrapper returned by the getObjectWrapper() method of the Configuration.
void
Template.process(Object rootMap, Writer out, ObjectWrapper wrapper)
Processes the template, using data from the root map object, and outputs the resulting text to the supplied writer, using the supplied object wrapper to convert map elements to template models.
void
Template.process(Object rootMap, Writer out, ObjectWrapper wrapper, TemplateNodeModel rootNode)
Processes the template, using data from the root map object, and outputs the resulting text to the supplied writer, using the supplied object wrapper to convert map elements to template models.
void
Configuration.setSetting(String key, String value)
Sets a setting by name and string value.

Uses in package freemarker.ext.beans

Classes derived from freemarker.template.TemplateException

class
An exception thrown when there is an attempt to access an invalid bean property when we are in a "strict bean" mode

Uses in package freemarker.core

Classes derived from freemarker.template.TemplateException

class
class
A subclass of TemplateException that says there is no value associated with a given expression.
class
A subclass of TemplateException that indicates that the internals expected an expression to evaluate to a boolean value and it didn't.
class
A subclass of TemplateException that indicates that the internals expected an expression to evaluate to a numerical value and it didn't.
class
A subclass of TemplateException that indicates that the internals expected an expression to evaluate to a string or numeric value and it didn't.
class
This exception is thrown when a <stop> directive is encountered.

Methods with return type freemarker.template.TemplateException

TemplateException
Configurable.invalidSettingValueException(String name, String value)
TemplateException

Methods which throw type freemarker.template.TemplateException

void
Environment.__setitem__(String key, Object o)
A hook that Jython uses.
void
Number
ArithmeticEngine.add(Number first, Number second)
Number
ArithmeticEngine.ConservativeEngine.add(Number first, Number second)
int
ArithmeticEngine.compareNumbers(Number first, Number second)
int
Number
ArithmeticEngine.divide(Number first, Number second)
Number
ArithmeticEngine.ConservativeEngine.divide(Number first, Number second)
TemplateModel
Environment.Namespace
Environment.importLib(String name, String namespace)
Emulates import directive, except that name must be tempate root relative.
Environment.Namespace
Environment.importLib(Template loadedTemplate, String namespace)
Emulates import directive.
void
Environment.include(String name, String encoding, boolean parse)
Emulates include directive, except that name must be tempate root relative.
void
Environment.include(Template includedTemplate)
Processes a Template in the context of this Environment, including its output in the Environment's Writer.
Number
ArithmeticEngine.modulus(Number first, Number second)
Number
ArithmeticEngine.ConservativeEngine.modulus(Number first, Number second)
Number
ArithmeticEngine.multiply(Number first, Number second)
Number
ArithmeticEngine.ConservativeEngine.multiply(Number first, Number second)
void
Processes the template to which this environment belongs.
void
Configurable.setSetting(String key, String value)
Sets a setting by a name and string value.
void
Configurable.setSettings(InputStream propsIn)
Reads a setting list (key and element pairs) from the input stream.
void
Configurable.setSettings(Properties props)
Set the settings stored in a Properties object.
Number
ArithmeticEngine.subtract(Number first, Number second)
Number
ArithmeticEngine.ConservativeEngine.subtract(Number first, Number second)