Skip to content

Commit 0ba0aca

Browse files
updated
1 parent a27056e commit 0ba0aca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ class CustomErrorResponseBuilder implements ErrorResponseBuilder<ServerWebExchan
746746
### Customize or Override advices
747747
Any autoconfigured advice can be customized by overriding the same and providing a different implementation.
748748
Make sure to add annotation `@Order(Ordered.HIGHEST_PRECEDENCE)` over the class,
749-
It makes this handler to take precedence over the fallback advice which handles `Throwable` i.e. for all exceptions for which no `ControllerAdvice`s are defined.
749+
It makes this handler to take precedence over the fallback advice which handles `Throwable` i.e. for all exceptions for which no `ControllerAdvice`s are defined.
750750
In case of Constraint Violation exceptions, the `errorKey` is derived from the field name,
751751
but in cases where field name is customized using `@JsonProperty`,
752752
`MethodArgumentNotValidException` may need to be customized to use `@JsonProperty` instead of class's field name in dynamically generated `erroKey` as follows

0 commit comments

Comments
 (0)