Class InvalidTemplateModelException

  • All Implemented Interfaces:
    Serializable

    @Deprecated
    public class InvalidTemplateModelException
    extends RuntimeException
    Deprecated.
    Template model and polymer template support is deprecated - we recommend you to use LitTemplate instead. Read more details from the Vaadin blog. For lit templates, you can use @Id mapping and the component API or the element API with property synchronization instead.
    Exception thrown when encountering an invalid type in a template model.
    Since:
    1.0
    Author:
    Vaadin Ltd
    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidTemplateModelException

        public InvalidTemplateModelException​(String message,
                                             Throwable cause)
        Deprecated.
        Creates a new exception with the given message and cause.
        Parameters:
        message - the exception message
        cause - the cause of the exception
      • InvalidTemplateModelException

        public InvalidTemplateModelException​(String message)
        Deprecated.
        Creates a new exception with the given message.
        Parameters:
        message - the exception message