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

public abstract class WebClientException extends org.springframework.core.NestedRuntimeException
Abstract base class for exception published by WebClient in case of errors.
Since:
5.0
Author:
Arjen Poutsma
See Also:
  • Constructor Details

    • WebClientException

      public WebClientException(String msg)
      Construct a new instance of WebClientException with the given message.
      Parameters:
      msg - the message
    • WebClientException

      public WebClientException(String msg, Throwable ex)
      Construct a new instance of WebClientException with the given message and exception.
      Parameters:
      msg - the message
      ex - the exception