public class MyAzureException
extends com.azure.core.exception.HttpResponseException
| Constructor and Description |
|---|
MyAzureException(String message,
com.azure.core.http.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() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MyAzureException(String message, com.azure.core.http.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.Copyright © 2020 Microsoft Corporation. All rights reserved.