List of usage examples for org.springframework.web.server ServerWebInputException ServerWebInputException
public ServerWebInputException(String reason, @Nullable MethodParameter parameter, @Nullable Throwable cause)
From source file:org.springframework.cloud.function.web.RequestProcessor.java
private Throwable handleReadError(MethodParameter parameter, Throwable ex) { return (ex instanceof DecodingException ? new ServerWebInputException("Failed to read HTTP message", parameter, ex) : ex);/*from www .j a v a 2 s . c o m*/ }