public final class ChatErrorResponseException
extends com.azure.android.core.http.exception.HttpResponseException
Constructor and Description |
---|
ChatErrorResponseException(java.lang.String message,
com.azure.android.core.http.HttpResponse response)
Initializes a new instance of the ChatErrorResponseException class.
|
ChatErrorResponseException(java.lang.String message,
com.azure.android.core.http.HttpResponse response,
ChatError value)
Initializes a new instance of the ChatErrorResponseException class.
|
Modifier and Type | Method and Description |
---|---|
ChatError |
getValue() |
getResponse
public ChatErrorResponseException(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 ChatErrorResponseException(java.lang.String message, com.azure.android.core.http.HttpResponse response, ChatError 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 ChatError getValue()
getValue
in class com.azure.android.core.http.exception.HttpResponseException