Package freemarker.core
Class NonSequenceOrCollectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- freemarker.template.TemplateException
-
- freemarker.core.UnexpectedTypeException
-
- freemarker.core.NonSequenceOrCollectionException
-
- All Implemented Interfaces:
Serializable
public class NonSequenceOrCollectionException extends UnexpectedTypeException
Indicates that aTemplateSequenceModel
orTemplateCollectionModel
value was expected, but the value had a different type.- Since:
- 2.3.21
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NonSequenceOrCollectionException(Environment env)
NonSequenceOrCollectionException(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
-
NonSequenceOrCollectionException
public NonSequenceOrCollectionException(Environment env)
-
NonSequenceOrCollectionException
public NonSequenceOrCollectionException(String description, Environment env)
-
-