Class ErrorAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.error.ErrorAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.interceptor.ServletResponseAware

public class ErrorAction extends BaseAction implements org.apache.struts2.interceptor.ServletResponseAware
Error action that populates a webwork action with Johnson Events
See Also:
  • Constructor Details

    • ErrorAction

      public ErrorAction()
  • Method Details

    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class BaseAction
      Throws:
      Exception
    • getImportErrors

      public List<com.atlassian.johnson.event.Event> getImportErrors()
    • removeImportErrorEvent

      public String removeImportErrorEvent()
    • getEventMap

      public Map<com.atlassian.johnson.event.EventType,List<com.atlassian.johnson.event.Event>> getEventMap()
    • setJohnsonEventContainer

      public void setJohnsonEventContainer(com.atlassian.johnson.JohnsonEventContainer johnsonEventContainer)
    • setServletResponse

      public void setServletResponse(javax.servlet.http.HttpServletResponse response)
      Specified by:
      setServletResponse in interface org.apache.struts2.interceptor.ServletResponseAware