BatchErrorException Class
- java.
lang. Object - RestException
- com.
microsoft. azure. batch. protocol. models. BatchErrorException
- com.
public class BatchErrorException
Exception thrown for an invalid response with BatchError information.
Constructor Summary
Constructor | Description |
---|---|
BatchErrorException(final String message, final Response<ResponseBody> response) |
Initializes a new instance of the BatchErrorException class. |
BatchErrorException(final String message, final Response<ResponseBody> response, final BatchError body) |
Initializes a new instance of the BatchErrorException class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Batch |
body() |
Constructor Details
BatchErrorException
public BatchErrorException(final String message, final Response
Initializes a new instance of the BatchErrorException class.
Parameters:
BatchErrorException
public BatchErrorException(final String message, final Response
Initializes a new instance of the BatchErrorException class.
Parameters:
Method Details
body
public BatchError body()