@Order
public class ReactiveConstraintViolationExceptionHandler
Represents the WebExceptionHandler that handles ConstraintViolationException and returns an appropriate HTTP response.
public ReactiveConstraintViolationExceptionHandler(@NotNull
ValiktorExceptionHandler<?> handler,
@NotNull
org.springframework.http.codec.CodecConfigurer codecConfigurer)
Represents the WebExceptionHandler that handles ConstraintViolationException and returns an appropriate HTTP response.
handler - specifies the interface ValiktorExceptionHandler@NotNull
public reactor.core.publisher.Mono<java.lang.Void> handle(@NotNull
org.springframework.web.server.ServerWebExchange exchange,
@NotNull
java.lang.Throwable ex)
Handles ConstraintViolationException and returns and delegates the response to handler.
exchange - specifies the current webflux requestex - specifies the ConstraintViolationException