BatchErrorException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - java.
lang. RuntimeException - com.
microsoft. rest. RestException - com.
microsoft. azure. batch. protocol. models. BatchErrorException
- com.
- com.
- java.
- java.
- java.
public class BatchErrorException
extends com.microsoft.rest.RestException
Exception thrown for an invalid response with BatchError information.
Constructor Summary
Constructor | Description |
---|---|
BatchErrorException(String message, Response<ResponseBody> response) |
Initializes a new instance of the Batch |
BatchErrorException(String message, Response<ResponseBody> response, BatchError body) |
Initializes a new instance of the Batch |
Method Summary
Modifier and Type | Method and Description |
---|---|
Batch |
body() |
Methods inherited from com.microsoft.rest.RestException
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
Constructor Details
BatchErrorException
public BatchErrorException(String message, Response
Initializes a new instance of the BatchErrorException class.
Parameters:
BatchErrorException
public BatchErrorException(String message, Response
Initializes a new instance of the BatchErrorException class.
Parameters:
Method Details
body
public BatchError body()
Overrides:
BatchErrorException.body()Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for