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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för