We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
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:
@Deprecated public class InvalidTemplateModelException extends RuntimeException
Deprecated.Template model and polymer template support is deprecated - we recommend you to useLitTemplate
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 Summary
Constructors Constructor Description InvalidTemplateModelException(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 Detail
-
InvalidTemplateModelException
public InvalidTemplateModelException(String message, Throwable cause)
Deprecated.Creates a new exception with the given message and cause.
Parameters:
message
- the exception messagecause
- the cause of the exception
-
InvalidTemplateModelException
public InvalidTemplateModelException(String message)
Deprecated.Creates a new exception with the given message.
Parameters:
message
- the exception message
-
-