MyAzureException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - java.
lang. RuntimeException - com.
azure. core. exception. AzureException - com.
azure. core. exception. HttpResponseException - com.
azure. core. test. MyAzureException
- com.
- com.
- com.
- java.
- java.
- java.
public class MyAzureException
extends HttpResponseException
A test exception.
Constructor Summary
| Constructor | Description |
|---|---|
| MyAzureException(String message, HttpResponse response, HttpBinJson body) |
Creates an exception with the |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| com.azure.core.test.implementation.entities.HttpBinJson | getValue() |
Methods inherited from HttpResponseException
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
addSuppressed
fillInStackTrace
getCause
getLocalizedMessage
getMessage
getStackTrace
getSuppressed
initCause
printStackTrace
printStackTrace
printStackTrace
setStackTrace
toString
Constructor Details
MyAzureException
public MyAzureException(String message, HttpResponse response, HttpBinJson body)
Creates an exception with the message, response, and body.
Parameters:
message
- Message for the exception.
response
- HttpResponse associated with the service request exception.
body
- HttpResponse deserialized into a HttpBinJson.
Method Details
getValue
public HttpBinJson getValue()
Overrides:
MyAzureException.getValue()