errorController.setResult(_result);
if (log.isDebugEnabled())
log.debug("The task had an error, so now calling " + errorController);
nextPageResponse = errorController.performAction();
} else {
// Invoke the expected result controller
if (log.isDebugEnabled())
log.debug("The task completed normally. Now setting the result, " + taskResult
+ ", and calling " + nextPageForResultController());