Class CrashReport


  • public class CrashReport
    extends java.lang.Object
    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • title

        private final java.lang.String title
      • exception

        private final java.lang.Throwable exception
      • saveFile

        private java.io.File saveFile
      • trackingStackTrace

        private boolean trackingStackTrace
      • uncategorizedStackTrace

        private java.lang.StackTraceElement[] uncategorizedStackTrace
    • Constructor Detail

      • CrashReport

        public CrashReport​(java.lang.String p_i1348_1_,
                           java.lang.Throwable p_i1348_2_)
    • Method Detail

      • initDetails

        private void initDetails()
      • getTitle

        public java.lang.String getTitle()
      • getException

        public java.lang.Throwable getException()
      • getDetails

        public void getDetails​(java.lang.StringBuilder p_71506_1_)
      • getExceptionMessage

        public java.lang.String getExceptionMessage()
      • getFriendlyReport

        public java.lang.String getFriendlyReport()
      • getSaveFile

        public java.io.File getSaveFile()
      • saveToFile

        public boolean saveToFile​(java.io.File p_147149_1_)
      • addCategory

        public CrashReportCategory addCategory​(java.lang.String p_85057_1_,
                                               int p_85057_2_)
      • getErrorComment

        private static java.lang.String getErrorComment()
      • forThrowable

        public static CrashReport forThrowable​(java.lang.Throwable p_85055_0_,
                                               java.lang.String p_85055_1_)
      • preload

        public static void preload()