Package com.vaadin.flow.templatemodel
Class InvalidTemplateModelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.vaadin.flow.templatemodel.InvalidTemplateModelException
- All Implemented Interfaces:
Serializable
Deprecated.
Exception thrown when encountering an invalid type in a template model.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidTemplateModelException(String message) Deprecated.Creates a new exception with the given message.InvalidTemplateModelException(String message, Throwable cause) Deprecated.Creates a new exception with the given message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidTemplateModelException
Deprecated.Creates a new exception with the given message and cause.- Parameters:
message- the exception messagecause- the cause of the exception
-
InvalidTemplateModelException
Deprecated.Creates a new exception with the given message.- Parameters:
message- the exception message
-
LitTemplateinstead. Read more details from the Vaadin blog. For lit templates, you can use@Idmapping and the component API or the element API with property synchronization instead.