public final class CommunicationErrorResponseException
extends com.azure.android.core.http.exception.HttpResponseException
Constructor and Description |
---|
CommunicationErrorResponseException(java.lang.String message,
com.azure.android.core.http.HttpResponse response)
Initializes a new instance of the CommunicationErrorResponseException class.
|
CommunicationErrorResponseException(java.lang.String message,
com.azure.android.core.http.HttpResponse response,
CommunicationErrorResponse value)
Initializes a new instance of the CommunicationErrorResponseException class.
|
Modifier and Type | Method and Description |
---|---|
CommunicationErrorResponse |
getValue() |
getResponse
public CommunicationErrorResponseException(java.lang.String message, com.azure.android.core.http.HttpResponse response)
message
- the exception message or the response content if a message is not available.response
- the HTTP response.public CommunicationErrorResponseException(java.lang.String message, com.azure.android.core.http.HttpResponse response, CommunicationErrorResponse value)
message
- the exception message or the response content if a message is not available.response
- the HTTP response.value
- the deserialized response value.public CommunicationErrorResponse getValue()
getValue
in class com.azure.android.core.http.exception.HttpResponseException