public class HttpResponseException extends AzureException
| Constructor and Description |
|---|
HttpResponseException(HttpResponse response)
Initializes a new instance of the HttpResponseException class.
|
HttpResponseException(HttpResponse response,
Throwable cause)
Initializes a new instance of the HttpResponseException class.
|
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.
|
HttpResponseException(String message,
HttpResponse response,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
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(HttpResponse response)
response - The HttpResponse received that is associated to the exception.public HttpResponseException(String message, HttpResponse response)
message - The exception message.response - The HttpResponse received that is associated to the exception.public HttpResponseException(HttpResponse response, Throwable cause)
response - The HttpResponse received that is associated to the exception.cause - The Throwable which caused the creation of this exception.public HttpResponseException(String message, HttpResponse response, Object value)
message - The exception message.response - The HttpResponse received that is associated to the exception.value - The deserialized response value.public HttpResponseException(String message, HttpResponse response, Throwable cause)
message - The exception message.response - The HttpResponse received that is associated to the exception.cause - The Throwable which caused the creation of this exception.public HttpResponseException(String message, HttpResponse response, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
message - The exception message.response - The HttpResponse received that is associated to the exception.cause - The Throwable which caused the creation of this exception.enableSuppression - Whether suppression is enabled or disabled.writableStackTrace - Whether the exception stack trace will be filled in.public HttpResponse getResponse()
HttpResponse received that is associated to the exception.public Object getValue()
Copyright © 2020 Microsoft Corporation. All rights reserved.