}
catch (Exception ex)
{
onException(transStatus);
logger.error("Error occurred performing transaction.", ex);
throw new GeneralException(ex);
}
// Submit the TaskRequests gathered from the execution strategy into the TaskHandlerContext to the TaskHandler.
try
{
TaskHandler currentTaskHandler = inTaskHandlerAction.getTaskHandler();
for (UserActionRequest currentRequest : taskHandlerContext.getUserActionRequests())
{
currentTaskHandler.handleTask(currentRequest);
}
}
catch (Exception ex)
{
logger.error("Error occurred posting UserActionRequests to the queue.", ex);
throw (new GeneralException("Error occurred posting UserActionRequests to the queue.", ex));
}
return results;
}