code: private ErrorEmitSvlt getErrorObj(final HttpServletRequest request,
                                      final MessageResources messages) {
      return (ErrorEmitSvlt)StrutsUtil.getErrorObj(getId(), this,
                                                   request,
                                                   messages,
                                                   getErrorObjAttrName(),
                                                   getErrorObjErrProp(),
                                                   noActionErrors,
                                                   clearMessages());
    }
docs: Get the error object. If we haven't already got one and
  getErrorObjAttrName returns non-null create one and implant it in
  the session.
  
  @param request  Needed to locate session
  @param messages Resources
  @return ErrorEmitSvlt