public final class ErrorException
extends com.azure.core.management.exception.ManagementException
| Constructor and Description |
|---|
ErrorException(String message,
com.azure.core.http.HttpResponse response)
Initializes a new instance of the ErrorException class.
|
ErrorException(String message,
com.azure.core.http.HttpResponse response,
Error value)
Initializes a new instance of the ErrorException class.
|
| Modifier and Type | Method and Description |
|---|---|
Error |
getValue() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ErrorException(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 ErrorException(String message, com.azure.core.http.HttpResponse response, Error 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 Error getValue()
getValue in class com.azure.core.management.exception.ManagementExceptionCopyright © 2020 Microsoft Corporation. All rights reserved.