ComputerVisionErrorResponseException Class
- java.
lang. Object - RestException
- com.
microsoft. azure. cognitiveservices. vision. computervision. models. ComputerVisionErrorResponseException
- com.
public class ComputerVisionErrorResponseException
Exception thrown for an invalid response with ComputerVisionErrorResponse information.
Constructor Summary
Constructor | Description |
---|---|
ComputerVisionErrorResponseException(final String message, final Response<ResponseBody> response) |
Initializes a new instance of the ComputerVisionErrorResponseException class. |
ComputerVisionErrorResponseException(final String message, final Response<ResponseBody> response, final ComputerVisionErrorResponse body) |
Initializes a new instance of the ComputerVisionErrorResponseException class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Computer |
body() |
Constructor Details
ComputerVisionErrorResponseException
public ComputerVisionErrorResponseException(final String message, final Response
Initializes a new instance of the ComputerVisionErrorResponseException class.
Parameters:
ComputerVisionErrorResponseException
public ComputerVisionErrorResponseException(final String message, final Response
Initializes a new instance of the ComputerVisionErrorResponseException class.
Parameters:
Method Details
body
public ComputerVisionErrorResponse body()
Applies to
Azure SDK for Java