return actionResults;
}
}
catch (AWNodeChangeException e) {
AWNodeValidator nv = e.getNodeValidator();
AWResponseGenerating handlerResults =
nv.handleNodeValidationException(requestContext);
nv.terminateCurrentSession(requestContext);
response = handlerResults.generateResponse();
}
catch (AWSessionValidationException exception) {
try {
if (AWConcreteApplication.IsDebuggingEnabled) {
Log.aribaweb.debug("AWDirectActionRequestHandler: handling session " +
"validation exception");
}
// if there is a default validator, run it here
AWNodeValidator nv = AWNodeManager.getDefaultNodeValidator();
if (nv != null && !nv.isValid(requestContext)) {
Log.aribaweb_nodeValidate.debug("AWDirectActionRequestHandler: invalid node. " +
"NodeValidator generating response.");
AWResponseGenerating handlerResults =
nv.handleNodeValidationException(requestContext);
nv.terminateCurrentSession(requestContext);
response = handlerResults.generateResponse();
}
else {
AWResponseGenerating handlerResults =
handleSessionValidationError(requestContext, exception);