public final class RequestErrorException
extends com.azure.core.exception.HttpResponseException
| Constructor and Description |
|---|
RequestErrorException(String message,
com.azure.core.http.HttpResponse response)
Initializes a new instance of the RequestErrorException class.
|
RequestErrorException(String message,
com.azure.core.http.HttpResponse response,
RequestError value)
Initializes a new instance of the RequestErrorException class.
|
| Modifier and Type | Method and Description |
|---|---|
RequestError |
getValue() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RequestErrorException(String message, com.azure.core.http.HttpResponse response)
message - the exception message or the response content if a message is not available.response - the HTTP response.public RequestErrorException(String message, com.azure.core.http.HttpResponse response, RequestError 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 RequestError getValue()
getValue in class com.azure.core.exception.HttpResponseExceptionCopyright © 2023. All rights reserved.