DecodeException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - java.
lang. RuntimeException - com.
azure. core. exception. AzureException - com.
azure. core. exception. HttpResponseException - com.
azure. core. exception. DecodeException
- com.
- com.
- com.
- java.
- java.
- java.
public class DecodeException
extends HttpResponseException
The DecodeException
represents an exception thrown when the HTTP response could not be decoded during the deserialization process.
This exception is thrown when the HTTP response received from Azure service is not in the expected format or structure, causing the deserialization process to fail.
Constructor Summary
Constructor | Description |
---|---|
DecodeException(String message, HttpResponse response) |
Initializes a new instance of the Decode |
DecodeException(String message, HttpResponse response, Object value) |
Initializes a new instance of the Decode |
DecodeException(String message, HttpResponse response, Throwable cause) |
Initializes a new instance of the Decode |
Methods inherited from HttpResponseException
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
DecodeException
public DecodeException(String message, HttpResponse response)
Initializes a new instance of the DecodeException class.
Parameters:
DecodeException
public DecodeException(String message, HttpResponse response, Object value)
Initializes a new instance of the DecodeException class.
Parameters:
DecodeException
public DecodeException(String message, HttpResponse response, Throwable cause)
Initializes a new instance of the DecodeException class.
Parameters:
Applies to
Azure SDK for Java