Skip to content

Commit f9aaaf3

Browse files
Update javadocs
1 parent a92534d commit f9aaaf3

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

problem4j-spring-webflux/src/main/java/io/github/problem4j/spring/webflux/ExceptionWebFluxAdvice.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ public ExceptionWebFluxAdvice(
9696

9797
/**
9898
* Generic fallback handler converting any uncaught exception into a {@link Problem} response.
99-
* Chooses a resolver, @ProblemMapping, @ResponseStatus, or defaults to INTERNAL_SERVER_ERROR.
99+
* Chooses a resolver, {@code @ProblemMapping}, {@code @ResponseStatus}, or defaults to {@code
100+
* INTERNAL_SERVER_ERROR}.
100101
*
101102
* @param ex the exception to handle
102103
* @param exchange the current server web exchange

problem4j-spring-webmvc/src/main/java/io/github/problem4j/spring/webmvc/ExceptionWebMvcAdvice.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,9 @@ public ExceptionWebMvcAdvice(
9696
}
9797

9898
/**
99-
* Generic fallback handler that converts any uncaught exception into a {@code Problem} response.
100-
* Chooses a resolver, @ProblemMapping, @ResponseStatus, or defaults to INTERNAL_SERVER_ERROR.
99+
* Generic fallback handler converting any uncaught exception into a {@link Problem} response.
100+
* Chooses a resolver, {@code @ProblemMapping}, {@code @ResponseStatus}, or defaults to {@code
101+
* INTERNAL_SERVER_ERROR}.
101102
*
102103
* @param ex the uncaught exception
103104
* @param request the web request

0 commit comments

Comments
 (0)