public class MyRestException
extends com.azure.core.exception.HttpResponseException
| Constructor and Description |
|---|
MyRestException(String message,
com.azure.core.http.HttpResponse response,
com.azure.core.test.implementation.entities.HttpBinJSON body)
Creates a service request exception.
|
| 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 MyRestException(String message, com.azure.core.http.HttpResponse response, com.azure.core.test.implementation.entities.HttpBinJSON body)
message - Message associated with exception.response - HttpResponse associated with the exception.body - Deserialized body of response.Copyright © 2020 Microsoft Corporation. All rights reserved.