MyRestException 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. MyRestException
- com.
- com.
- com.
- java.
- java.
- java.
public class MyRestException
extends HttpResponseException
A test exception.
Constructor Summary
| Constructor | Description |
|---|---|
| MyRestException(String message, HttpResponse response, HttpBinJson body) |
Creates a service request exception. |
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
Constructor Details
MyRestException
public MyRestException(String message, HttpResponse response, HttpBinJson body)
Creates a service request exception.
Parameters:
response.
Method Details
getValue
public HttpBinJson getValue()
Overrides:
MyRestException.getValue()