Top Description Fields Constructors Methods
org.springframework.web.reactive.function.client

public abstract Class WebClientException

extends NestedRuntimeException
Class Inheritance
Known Direct Subclasses
org.springframework.web.reactive.function.client.WebClientRequestException, org.springframework.web.reactive.function.client.WebClientResponseException
Imports
org.springframework.core.NestedRuntimeException

Abstract base class for exception published by WebClient in case of errors.
Author
Arjen Poutsma
Since
5.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
WebClientException(String
the message
msg
)

Construct a new instance of WebClientException with the given message.

public
WebClientException(String
the message
msg
,
Throwable
the exception
ex
)

Construct a new instance of WebClientException with the given message and exception.

Method Summary

Inherited from org.springframework.core.NestedRuntimeException:
containsgetMostSpecificCausegetRootCause

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.springframework.core.NestedRuntimeException.serialVersionUID.

Constructor Detail

WebClientExceptionback to summary
public WebClientException(String msg)

Construct a new instance of WebClientException with the given message.

Parameters
msg:String

the message

WebClientExceptionback to summary
public WebClientException(String msg, Throwable ex)

Construct a new instance of WebClientException with the given message and exception.

Parameters
msg:String

the message

ex:Throwable

the exception