Class CrashReport

java.lang.Object
net.minecraft.crash.CrashReport

public class CrashReport extends Object
  • Field Details

    • LOGGER

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

      private final String title
    • exception

      private final Throwable exception
    • systemDetails

      private final CrashReportCategory systemDetails
    • details

      private final List<CrashReportCategory> details
    • saveFile

      private File saveFile
    • trackingStackTrace

      private boolean trackingStackTrace
    • uncategorizedStackTrace

      private StackTraceElement[] uncategorizedStackTrace
  • Constructor Details

    • CrashReport

      public CrashReport(String p_i1348_1_, Throwable p_i1348_2_)
  • Method Details

    • initDetails

      private void initDetails()
    • getTitle

      public String getTitle()
    • getException

      public Throwable getException()
    • getDetails

      public void getDetails(StringBuilder p_71506_1_)
    • getExceptionMessage

      public String getExceptionMessage()
    • getFriendlyReport

      public String getFriendlyReport()
    • getSaveFile

      public File getSaveFile()
    • saveToFile

      public boolean saveToFile(File p_147149_1_)
    • getSystemDetails

      public CrashReportCategory getSystemDetails()
    • addCategory

      public CrashReportCategory addCategory(String p_85058_1_)
    • addCategory

      public CrashReportCategory addCategory(String p_85057_1_, int p_85057_2_)
    • getErrorComment

      private static String getErrorComment()
    • forThrowable

      public static CrashReport forThrowable(Throwable p_85055_0_, String p_85055_1_)
    • preload

      public static void preload()