public final class DefaultErrorResponseErrorException
extends com.azure.core.management.exception.ManagementException
| Constructor and Description |
|---|
DefaultErrorResponseErrorException(String message,
com.azure.core.http.HttpResponse response)
Initializes a new instance of the DefaultErrorResponseErrorException class.
|
DefaultErrorResponseErrorException(String message,
com.azure.core.http.HttpResponse response,
DefaultErrorResponseError value)
Initializes a new instance of the DefaultErrorResponseErrorException class.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultErrorResponseError |
getValue() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic DefaultErrorResponseErrorException(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 DefaultErrorResponseErrorException(String message, com.azure.core.http.HttpResponse response, DefaultErrorResponseError 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 DefaultErrorResponseError getValue()
getValue in class com.azure.core.management.exception.ManagementExceptionVisit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.