ErrorException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - java.
lang. RuntimeException - com.
microsoft. rest. RestException - com.
microsoft. azure. management. cognitiveservices. ErrorException
- com.
- com.
- java.
- java.
- java.
public class ErrorException
extends com.microsoft.rest.RestException
Exception thrown for an invalid response with Error information.
Constructor Summary
Constructor | Description |
---|---|
ErrorException(String message, Response<ResponseBody> response) |
Initializes a new instance of the Error |
ErrorException(String message, Response<ResponseBody> response, Error body) |
Initializes a new instance of the Error |
Method Summary
Modifier and Type | Method and Description |
---|---|
Error | body() |
Methods inherited from com.microsoft.rest.RestException
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
ErrorException
public ErrorException(String message, Response
Initializes a new instance of the ErrorException class.
Parameters:
ErrorException
public ErrorException(String message, Response
Initializes a new instance of the ErrorException class.
Parameters:
Method Details
body
public Error body()
Overrides:
ErrorException.body()Applies to
Azure SDK for Java
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по