Class WebClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.web.reactive.function.client.WebClientException
- All Implemented Interfaces:
 Serializable
- Direct Known Subclasses:
 WebClientRequestException,WebClientResponseException
Abstract base class for exception published by 
WebClient in case of errors.- Since:
 - 5.0
 - Author:
 - Arjen Poutsma
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionWebClientException(@Nullable String msg, Throwable ex) Construct a new instance ofWebClientExceptionwith the given message and exception.WebClientException(String msg) Construct a new instance ofWebClientExceptionwith the given message. - 
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
WebClientException
Construct a new instance ofWebClientExceptionwith the given message.- Parameters:
 msg- the message
 - 
WebClientException
Construct a new instance ofWebClientExceptionwith the given message and exception.- Parameters:
 msg- the messageex- the exception
 
 -