public class MyRestException extends HttpResponseException
| Constructor and Description |
|---|
MyRestException(String message,
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() |
getResponseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MyRestException(String message, 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.public com.azure.core.test.implementation.entities.HttpBinJSON getValue()
getValue in class HttpResponseExceptionCopyright © 2019 Microsoft Corporation. All rights reserved.