@Order
public class ReactiveInvalidFormatExceptionHandler
Represents the WebExceptionHandler that handles InvalidFormatException and throws a ConstraintViolationException.
| Constructor and Description |
|---|
ReactiveInvalidFormatExceptionHandler()
Represents the WebExceptionHandler that handles InvalidFormatException and throws a ConstraintViolationException.
|
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<java.lang.Void> |
handle(org.springframework.web.server.ServerWebExchange exchange,
java.lang.Throwable ex)
Handle InvalidFormatException and throws a ConstraintViolationException
|
public ReactiveInvalidFormatExceptionHandler()
Represents the WebExceptionHandler that handles InvalidFormatException and throws a ConstraintViolationException.
@NotNull
public reactor.core.publisher.Mono<java.lang.Void> handle(@NotNull
org.springframework.web.server.ServerWebExchange exchange,
@NotNull
java.lang.Throwable ex)
Handle InvalidFormatException and throws a ConstraintViolationException
exchange - specifies the current webflux requestex - specifies the InvalidFormatException