Skip to content

Document IllegalStateException in DynamicTheme.initialize(IndexHtmlResponse) #147

@javier-godoy

Description

@javier-godoy

DynamicTheme.initialize(IndexHtmlResponse) now calls assertNotLegacyTheme() , so its Javadoc should include the same throws contract as the AppShellSettings overload.

* @param response the index HTML response to be modified
* @throws UnsupportedOperationException if the runtime Vaadin version is older than 25
*/
public void initialize(IndexHtmlResponse response) {
assertFeatureSupported();
assertNotLegacyTheme();

* @throws IllegalStateException if the {@link AppShellConfigurator} is configured with the legacy
* {@link Theme} annotation

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions