From dedcdad0023f26008b972c78e1ef3efc5f133f7c Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sat, 31 Aug 2024 22:35:02 +0200 Subject: [PATCH] Fix Javadoc generation warnings and errors --- .../staropensource/sosengine/base/utility/Miscellaneous.java | 1 + .../sosengine/windowing/implementable/Window.java | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/base/src/main/java/de/staropensource/sosengine/base/utility/Miscellaneous.java b/base/src/main/java/de/staropensource/sosengine/base/utility/Miscellaneous.java index e46d7f2..0b8719b 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/utility/Miscellaneous.java +++ b/base/src/main/java/de/staropensource/sosengine/base/utility/Miscellaneous.java @@ -209,6 +209,7 @@ public final class Miscellaneous { /** * Returns the {@code Caused by} message usually found when the JVM prints a throwable. * + * @param throwable {@link Throwable} to use * @return stack trace header * @since v1-alpha4 */ diff --git a/windowing/src/main/java/de/staropensource/sosengine/windowing/implementable/Window.java b/windowing/src/main/java/de/staropensource/sosengine/windowing/implementable/Window.java index 5eadb53..e718996 100644 --- a/windowing/src/main/java/de/staropensource/sosengine/windowing/implementable/Window.java +++ b/windowing/src/main/java/de/staropensource/sosengine/windowing/implementable/Window.java @@ -537,7 +537,7 @@ public abstract class Window implements AutoCloseable { * Do not call this method manually or you * may cause unintended side effects. * - * @throws Throwable thrown by implementing method + * @throws Exception thrown by implementing method * @since v1-alpha2 */ public abstract void updateState() throws Exception; @@ -548,7 +548,7 @@ public abstract class Window implements AutoCloseable { * Do not call this method manually or you * may cause unintended side effects. * - * @throws Throwable thrown by implementing method + * @throws Exception thrown by implementing method * @since v1-alpha2 */ public abstract void render() throws Exception;