ErrorException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - java.
lang. RuntimeException - com.
microsoft. rest. RestException - com.
microsoft. azure. management. network. 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.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor