From 9685b22c5001160fd01448c87915601485a50ab5 Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Wed, 5 Apr 2023 11:29:59 +0300 Subject: [PATCH 1/2] Fix javadoc of ServerExceptionMapper --- .../resteasy/reactive/server/ServerExceptionMapper.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/independent-projects/resteasy-reactive/server/runtime/src/main/java/org/jboss/resteasy/reactive/server/ServerExceptionMapper.java b/independent-projects/resteasy-reactive/server/runtime/src/main/java/org/jboss/resteasy/reactive/server/ServerExceptionMapper.java index b7c32871c1607..7a4689f9ca757 100644 --- a/independent-projects/resteasy-reactive/server/runtime/src/main/java/org/jboss/resteasy/reactive/server/ServerExceptionMapper.java +++ b/independent-projects/resteasy-reactive/server/runtime/src/main/java/org/jboss/resteasy/reactive/server/ServerExceptionMapper.java @@ -15,17 +15,16 @@ /** * When used on a method, then an implementation of {@link jakarta.ws.rs.ext.ExceptionMapper} is generated * that calls the annotated method with the proper arguments. - * + *

* When the annotation is placed on a method that is not a JAX-RS Resource class, the method handles exceptions in global - * fashion - * (as do regular JAX-RS {@code ExceptionMapper} implementations). + * fashion (as do regular JAX-RS {@code ExceptionMapper} implementations). * However, when it is placed on a method of a JAX-RS Resource class, the method is only used to handle exceptions originating * from * that JAX-RS Resource class. * Methods in a JAX-RS class annotated with this annotation will be used first when determining how to handle a thrown * exception. * This means that these methods take precedence over the global {@link jakarta.ws.rs.ext.ExceptionMapper} classes. - * + *

* In addition to the exception being handled, an annotated method can also declare any of the following * parameters (in any order): *