AfdErrorResponseException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - java.
lang. RuntimeException - com.
microsoft. rest. RestException - com.
microsoft. azure. management. cdn. AfdErrorResponseException
- com.
- com.
- java.
- java.
- java.
public class AfdErrorResponseException
extends com.microsoft.rest.RestException
Exception thrown for an invalid response with AfdErrorResponse information.
Constructor Summary
Constructor | Description |
---|---|
AfdErrorResponseException(String message, Response<ResponseBody> response) |
Initializes a new instance of the Afd |
AfdErrorResponseException(String message, Response<ResponseBody> response, AfdErrorResponse body) |
Initializes a new instance of the Afd |
Method Summary
Modifier and Type | Method and Description |
---|---|
Afd |
body() |
Methods inherited from com.microsoft.rest.RestException
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
AfdErrorResponseException
public AfdErrorResponseException(String message, Response
Initializes a new instance of the AfdErrorResponseException class.
Parameters:
AfdErrorResponseException
public AfdErrorResponseException(String message, Response
Initializes a new instance of the AfdErrorResponseException class.
Parameters:
Method Details
body
public AfdErrorResponse body()
Overrides:
AfdErrorResponseException.body()Applies to
Azure SDK for Java