Class ErrorAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.error.ErrorAction
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalBypassSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.atlassian.struts.TextProvider, com.atlassian.struts.ValidationAware, com.opensymphony.xwork.ValidationAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

public class ErrorAction extends BambooActionSupport implements GlobalBypassSecurityAware
A base Error class used for things like 404, permission denied etc.
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 com.opensymphony.xwork2.ActionSupport
      Throws:
      Exception
    • setStatusCode

      public void setStatusCode(int statusCode)
    • setRestSupported

      public void setRestSupported(boolean restSupported)
    • getEvents

      public Collection<com.atlassian.johnson.event.Event> getEvents()
    • getExceptionMessage

      public String getExceptionMessage()