From 2e49f2dcfb86f8632cfa10cd84385d0f4143c0c2 Mon Sep 17 00:00:00 2001 From: Javier Godoy <11554739+javier-godoy@users.noreply.github.com> Date: Wed, 1 Apr 2026 10:15:58 -0300 Subject: [PATCH] docs: document IllegalStateException in DynamicTheme.initialize Close #147 --- .../java/com/flowingcode/vaadin/addons/demo/DynamicTheme.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/flowingcode/vaadin/addons/demo/DynamicTheme.java b/src/main/java/com/flowingcode/vaadin/addons/demo/DynamicTheme.java index 8fbb788..2252e9b 100644 --- a/src/main/java/com/flowingcode/vaadin/addons/demo/DynamicTheme.java +++ b/src/main/java/com/flowingcode/vaadin/addons/demo/DynamicTheme.java @@ -146,6 +146,8 @@ public void initialize(AppShellSettings settings) { * * @param response the index HTML response to be modified * @throws UnsupportedOperationException if the runtime Vaadin version is older than 25 + * @throws IllegalStateException if the {@link AppShellConfigurator} is configured with + * the legacy {@link Theme} annotation */ public void initialize(IndexHtmlResponse response) { assertFeatureSupported();