Package freemarker.core
Class NonStringException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- freemarker.template.TemplateException
-
- freemarker.core.UnexpectedTypeException
-
- freemarker.core.NonStringException
-
- All Implemented Interfaces:
Serializable
public class NonStringException extends UnexpectedTypeException
Indicates that aTemplateScalarModel
value was expected (or maybe something that can be automatically coerced to that), but the value had a different type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NonStringException(Environment env)
NonStringException(String description, Environment env)
-
Method Summary
-
Methods inherited from class freemarker.template.TemplateException
getBlamedExpressionString, getCauseException, getColumnNumber, getEndColumnNumber, getEndLineNumber, getEnvironment, getFTLInstructionStack, getLineNumber, getMessage, getMessageWithoutStackTop, getTemplateName, getTemplateSourceName, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStandardStackTrace, printStandardStackTrace
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NonStringException
public NonStringException(Environment env)
-
NonStringException
public NonStringException(String description, Environment env)
-
-