Class DecodeException

All Implemented Interfaces:
Serializable

public class DecodeException extends HttpResponseException
Error raised during response deserialization. The HTTP response could not be decoded.
See Also:
  • Constructor Details

    • DecodeException

      public DecodeException(String message, HttpResponse response)
      Initializes a new instance of the DecodeException class.
      Parameters:
      message - The exception message or the response content if a message is not available.
      response - The HTTP response received from Azure service.
    • DecodeException

      public DecodeException(String message, HttpResponse response, Object value)
      Initializes a new instance of the DecodeException class.
      Parameters:
      message - The exception message.
      response - The HTTP response received from Azure service.
      value - The deserialized response value.
    • DecodeException

      public DecodeException(String message, HttpResponse response, Throwable cause)
      Initializes a new instance of the DecodeException class.
      Parameters:
      message - The exception message or the response content if a message is not available.
      response - The HTTP response received from Azure service.
      cause - The Throwable which caused the creation of this exception.