From 72032f2c9f80badf147eb6afda94a988014ba66c Mon Sep 17 00:00:00 2001 From: Scott Leberknight <174812+sleberknight@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:59:07 -0400 Subject: [PATCH] Fix javadoc in IllegalStateExceptionMapper (#1129) The javadoc has the wrong reason for a 500 status code. --- .../jaxrs/exception/IllegalStateExceptionMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/kiwiproject/jaxrs/exception/IllegalStateExceptionMapper.java b/src/main/java/org/kiwiproject/jaxrs/exception/IllegalStateExceptionMapper.java index f1fe1d08..7b9b9c75 100644 --- a/src/main/java/org/kiwiproject/jaxrs/exception/IllegalStateExceptionMapper.java +++ b/src/main/java/org/kiwiproject/jaxrs/exception/IllegalStateExceptionMapper.java @@ -7,7 +7,7 @@ /** * Map {@link IllegalStateException} to {@link Response}. *
- * The mapped response has status code 500 (Bad Request) and media type JSON.
+ * The mapped response has status code 500 (Internal Server Error) and media type JSON.
*/
@Provider
public class IllegalStateExceptionMapper implements ExceptionMapper