Class SystemErrorInformationLogger

java.lang.Object
com.atlassian.confluence.status.SystemErrorInformationLogger

public class SystemErrorInformationLogger extends Object
This class does little more than write the information which is contained on the 500 page to a log file.
  • Constructor Details

    • SystemErrorInformationLogger

      public SystemErrorInformationLogger(UUID uuid, javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request, Throwable throwable)
    • SystemErrorInformationLogger

      public SystemErrorInformationLogger(UUID uuid, javax.servlet.ServletContext servletContext, javax.servlet.http.HttpServletRequest request)
    • SystemErrorInformationLogger

      public SystemErrorInformationLogger()
  • Method Details

    • writeToLog

      public void writeToLog(boolean writeExtendedInfo)
      This is essentially a straight translation of the JSP into Java code.
    • logException

      public String logException()
      Returns:
      errorId
    • getUniqueID

      public String getUniqueID()
    • toString

      public String toString(boolean writeExtendedInfo)
      Retrieve the system information as an ASCII formatted string.
      Parameters:
      writeExtendedInfo - amend with information about cluster and enabled plugins
      Returns:
      an ASCII formatted string