Class UnknownHttpStatusCodeException

All Implemented Interfaces:
Serializable

public class UnknownHttpStatusCodeException extends WebClientResponseException
Exception thrown when an unknown (or custom) HTTP status code is received.
Since:
5.1
Author:
Brian Clozel
See Also:
  • Constructor Details

    • UnknownHttpStatusCodeException

      public UnknownHttpStatusCodeException(int statusCode, HttpHeaders headers, byte[] responseBody, Charset responseCharset)
      Create a new instance of the UnknownHttpStatusCodeException with the given parameters.
    • UnknownHttpStatusCodeException

      public UnknownHttpStatusCodeException(int statusCode, HttpHeaders headers, byte[] responseBody, @Nullable Charset responseCharset, @Nullable HttpRequest request)
      Create a new instance of the UnknownHttpStatusCodeException with the given parameters.
      Since:
      5.1.4
    • UnknownHttpStatusCodeException

      public UnknownHttpStatusCodeException(HttpStatusCode statusCode, HttpHeaders headers, byte[] responseBody, @Nullable Charset responseCharset, @Nullable HttpRequest request)
      Create a new instance of the UnknownHttpStatusCodeException with the given parameters.
      Since:
      6.0