Class CrashReport
java.lang.Object
net.minecraft.CrashReport
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final DateTimeFormatterprivate final List<CrashReportCategory> private final Throwableprivate static final org.slf4j.Loggerprivate @Nullable Pathprivate final SystemReportprivate final Stringprivate booleanprivate StackTraceElement[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCategory(String name) addCategory(String name, int nestedOffset) static CrashReportforThrowable(Throwable t, String title) voidgetDetails(StringBuilder builder) getFriendlyReport(ReportType reportType) getFriendlyReport(ReportType reportType, List<String> extraComments) @Nullable PathgetTitle()static voidpreload()booleansaveToFile(Path file, ReportType reportType) booleansaveToFile(Path saveFile, ReportType reportType, List<String> extraComments)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
DATE_TIME_FORMATTER
-
title
-
exception
-
details
-
saveFile
-
trackingStackTrace
private boolean trackingStackTrace -
uncategorizedStackTrace
-
systemReport
-
-
Constructor Details
-
CrashReport
-
-
Method Details
-
getTitle
-
getException
-
getDetails
-
getDetails
-
getExceptionMessage
-
getFriendlyReport
-
getFriendlyReport
-
getSaveFile
-
saveToFile
-
saveToFile
-
getSystemReport
-
addCategory
-
addCategory
-
forThrowable
-
preload
public static void preload()
-