getResponses
getResponses()

The getResponses method returns the array of response objects that correspond to the array of commands executed by the executeBatch method.

Return value

The getResponses method returns an array of Response objects.

Example

The following example selects all the responses and prints out any advisory messages if the command was not successful.

for(Response response : batchResponse.getResponses())
{
if(response.getStatusCode()!=Response.STATUS_SUCCESS)
{
printDetailMessageOfWarningOrError("executeBatchCommand",
response.getAdvisoryMessages());
}
}


IBM Unica Interact
 
8.5.0
For more information, see our support and community site: Customer Central