Uses of Class
freemarker.core.UnformattableValueException
Packages that use UnformattableValueException
Package
Description
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template
.-
Uses of UnformattableValueException in freemarker.core
Subclasses of UnformattableValueException in freemarker.coreModifier and TypeClassDescriptionfinal class
Thrown when aTemplateDateModel
can't be formatted because its type isTemplateDateModel.UNKNOWN
.final class
Thrown when a string can't be parsed toTemplateDateModel
, because the provided target type isTemplateDateModel.UNKNOWN
.Methods in freemarker.core that throw UnformattableValueExceptionModifier and TypeMethodDescriptionstatic Number
TemplateFormatUtil.getNonNullNumber
(TemplateNumberModel numberModel) Utility method to extract theNumber
from anTemplateNumberModel
, and throwsTemplateModelException
with a standard error message if that'snull
.