Class FiveOhOh

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.error.FiveOhOh
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 FiveOhOh extends BambooActionSupport implements GlobalBypassSecurityAware
A 500 error handling action that tries to find the exception in the context and then also logs it.
See Also:
  • Constructor Details

    • FiveOhOh

      public FiveOhOh()
  • 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
    • getStackTrace

      @Nullable public @Nullable String getStackTrace()
    • setShowStackTrace

      public void setShowStackTrace(boolean showStackTrace)
    • getExceptionTranslator

      public ExceptionTranslator getExceptionTranslator()
    • setExceptionTranslator

      public void setExceptionTranslator(ExceptionTranslator exceptionTranslator)