public class MyAzureException extends HttpResponseException
| Constructor and Description |
|---|
MyAzureException(String message,
HttpResponse response,
com.azure.core.test.implementation.entities.HttpBinJSON body)
Creates an exception with the
message, response, and body. |
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.test.implementation.entities.HttpBinJSON |
getValue() |
getResponseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MyAzureException(String message, HttpResponse response, com.azure.core.test.implementation.entities.HttpBinJSON body)
message, response, and body.message - Message for the exception.response - HttpResponse associated with the service request exception.body - HttpResponse deserialized into a HttpBinJSON.public com.azure.core.test.implementation.entities.HttpBinJSON getValue()
getValue in class HttpResponseExceptionCopyright © 2019 Microsoft Corporation. All rights reserved.