Class Info |
|---|
public abstract class JsonBatchCallback<T> implements BatchCallback<T, JsonErrorContainer> JsonBatchCallback class. |
Qualifier and Type | Method Name and Description |
|---|---|
void | onFailure(JsonErrorContainer e, HttpHeaders responseHeaders) Executes when a batch processing failure response in JSON format is returned. |
Method |
|---|
public final void onFailure(JsonErrorContainer e, HttpHeaders responseHeaders) throws IOException Executes when a batch processing failure response in JSON format is returned. |
Parameters
Name | Description |
|---|---|
e | Instance of the JsonErrorContainer class. |
responseHeaders | Batch request header. |
Throws
Name | Description |
|---|---|
java.io.IOException | I/O exception thrown upon an API call failure. You can use the getMessage() method to obtain the error description. |