Package net.minecraft.crash
Class CrashReport
- java.lang.Object
-
- net.minecraft.crash.CrashReport
-
public class CrashReport extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<CrashReportCategory>
details
private java.lang.Throwable
exception
private static org.apache.logging.log4j.Logger
LOGGER
private java.io.File
saveFile
private CrashReportCategory
systemDetails
private java.lang.String
title
private boolean
trackingStackTrace
private java.lang.StackTraceElement[]
uncategorizedStackTrace
-
Constructor Summary
Constructors Constructor Description CrashReport(java.lang.String p_i1348_1_, java.lang.Throwable p_i1348_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CrashReportCategory
addCategory(java.lang.String p_85058_1_)
CrashReportCategory
addCategory(java.lang.String p_85057_1_, int p_85057_2_)
static CrashReport
forThrowable(java.lang.Throwable p_85055_0_, java.lang.String p_85055_1_)
void
getDetails(java.lang.StringBuilder p_71506_1_)
private static java.lang.String
getErrorComment()
java.lang.Throwable
getException()
java.lang.String
getExceptionMessage()
java.lang.String
getFriendlyReport()
java.io.File
getSaveFile()
CrashReportCategory
getSystemDetails()
java.lang.String
getTitle()
private void
initDetails()
static void
preload()
boolean
saveToFile(java.io.File p_147149_1_)
-
-
-
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
-
systemDetails
private final CrashReportCategory systemDetails
-
details
private final java.util.List<CrashReportCategory> details
-
saveFile
private java.io.File saveFile
-
trackingStackTrace
private boolean trackingStackTrace
-
uncategorizedStackTrace
private java.lang.StackTraceElement[] uncategorizedStackTrace
-
-
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_)
-
getSystemDetails
public CrashReportCategory getSystemDetails()
-
addCategory
public CrashReportCategory addCategory(java.lang.String p_85058_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()
-
-