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:
message
- the exception message or the response content if a message is not available
response
- the HTTP response
CustomVisionErrorException
public CustomVisionErrorException(final String message, final Response
Initializes a new instance of the CustomVisionErrorException class.
Parameters:
message
- the exception message or the response content if a message is not available
response
- the HTTP response
body
- the deserialized response body
Method Details
body
public CustomVisionError body()
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應