BatchErrorException Constructors

Definition

Overloads

BatchErrorException(String message, Response<ResponseBody> response)

Initializes a new instance of the BatchErrorException class.

BatchErrorException(String message, Response<ResponseBody> response, BatchError body)

Initializes a new instance of the BatchErrorException class.

BatchErrorException(String message, Response<ResponseBody> response)

Initializes a new instance of the BatchErrorException class.

public BatchErrorException(String message, Response<ResponseBody> response)

Parameters

message
java.lang.String

the exception message or the response content if a message is not available

response
retrofit2.Response<okhttp3.ResponseBody>

the HTTP response

BatchErrorException(String message, Response<ResponseBody> response, BatchError body)

Initializes a new instance of the BatchErrorException class.

public BatchErrorException(String message, Response<ResponseBody> response, BatchError body)

Parameters

message
java.lang.String

the exception message or the response content if a message is not available

response
retrofit2.Response<okhttp3.ResponseBody>

the HTTP response

body
BatchError

the deserialized response body

Applies to