你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CustomVisionErrorException Class
- java.
lang. Object - RestException
- com.
microsoft. azure. cognitiveservices. vision. customvision. training. models. CustomVisionErrorException
- com.
public class CustomVisionErrorException
Exception thrown for an invalid response with CustomVisionError information.
Constructor Summary
Constructor | Description |
---|---|
CustomVisionErrorException(final String message, final Response<ResponseBody> response) |
Initializes a new instance of the CustomVisionErrorException class. |
CustomVisionErrorException(final String message, final Response<ResponseBody> response, final CustomVisionError body) |
Initializes a new instance of the CustomVisionErrorException class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Custom |
body() |
Constructor Details
CustomVisionErrorException
public CustomVisionErrorException(final String message, final Response
Initializes a new instance of the CustomVisionErrorException class.
Parameters:
CustomVisionErrorException
public CustomVisionErrorException(final String message, final Response
Initializes a new instance of the CustomVisionErrorException class.
Parameters:
Method Details
body
public CustomVisionError body()