public class HttpResponseException extends AzureException
| Constructor and Description |
|---|
HttpResponseException(String message,
HttpResponse response)
Initializes a new instance of the HttpResponseException class.
|
HttpResponseException(String message,
HttpResponse response,
Object value)
Initializes a new instance of the HTTPResponseException class.
|
HttpResponseException(String message,
HttpResponse response,
Throwable cause)
Initializes a new instance of the HttpResponseException class.
|
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
getResponse() |
Object |
getValue() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HttpResponseException(String message, HttpResponse response)
message - the exception message or the response content if a message is not availableresponse - the HTTP responsepublic HttpResponseException(String message, HttpResponse response, Object value)
message - the exception message or the response content if a message is not availableresponse - the HTTP response received from Azure servicevalue - the deserialized response valuepublic HttpResponseException(String message, HttpResponse response, Throwable cause)
message - the exception message or the response content if a message is not availableresponse - the HTTP responsecause - the Throwable which caused the creation of this HttpResponseExceptionpublic HttpResponse getResponse()
public Object getValue()
Copyright © 2019 Microsoft Corporation. All rights reserved.