Class 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 Detail

      • 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 Detail

      • writeToLog

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

        public String logException()
        Returns:
        errorId
      • 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