Class NonSequenceOrCollectionException

All Implemented Interfaces:
Serializable

public class NonSequenceOrCollectionException extends UnexpectedTypeException
Indicates that a TemplateSequenceModel or TemplateCollectionModel value was expected, but the value had a different type.
Since:
2.3.21
See Also:
Serialized Form
  • Constructor Details

    • NonSequenceOrCollectionException

      public NonSequenceOrCollectionException(Environment env)
    • NonSequenceOrCollectionException

      public NonSequenceOrCollectionException(String description, Environment env)
  • Method Details

    • isWrappedIterable

      public static boolean isWrappedIterable(TemplateModel model)