public class DecodeException extends HttpResponseException
Constructor and Description |
---|
DecodeException(String message,
HttpResponse response)
Initializes a new instance of the DecodeException class.
|
DecodeException(String message,
HttpResponse response,
Object value)
Initializes a new instance of the DecodeException class.
|
DecodeException(String message,
HttpResponse response,
Throwable cause)
Initializes a new instance of the DecodeException class.
|
getResponse, getValue
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DecodeException(String message, HttpResponse response)
message
- The exception message or the response content if a message is not available.response
- The HTTP response received from Azure service.public DecodeException(String message, HttpResponse response, Object value)
message
- The exception message.response
- The HTTP response received from Azure service.value
- The deserialized response value.public DecodeException(String message, HttpResponse response, Throwable cause)
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.Copyright © 2021 Microsoft Corporation. All rights reserved.