Class InvalidTemplateModelException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vaadin.flow.templatemodel.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:
  • Constructor Details

    • 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