net.minecraft.util.crash

public class CrashReport

net.minecraft.CrashReport
net.minecraft.class_128
net.minecraft.util.crash.CrashReport

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_1091
LOGGER
private static final DateTimeFormatter
DATE_TIME_FORMATTER
field_39880
DATE_TIME_FORMATTER
private final String
title
field_1087
message
private final Throwable
exception
field_1093
cause
private final List<CrashReportSection>
details
field_1089
otherSections
private Path
saveFile
field_1090
file
private boolean
trackingStackTrace
field_1086
hasStackTrace
private StackTraceElement[]
uncategorizedStackTrace
field_1088
stackTrace
private final SystemDetails
systemReport
field_1092
systemDetailsSection

Constructor summary

ModifierConstructor
public (String message, Throwable cause)

Method summary

Modifier and TypeMethod
public String
getTitle()
method_561()
getMessage()
public Throwable
getException()
method_564()
getCause()
public String
getDetails()
method_36147()
getStackTrace()
public void
getDetails(StringBuilder builder)
method_555(StringBuilder arg0)
addDetails(StringBuilder crashReportBuilder)
public String
getExceptionMessage()
method_557()
getCauseAsString()
public String
getFriendlyReport(ReportType reportType, List<String> extraComments)
method_60921(class_9813 arg0, List<String> arg1)
asString(ReportType type, List<String> extraInfo)
public String
getFriendlyReport(ReportType reportType)
method_60920(class_9813 arg0)
asString(ReportType type)
public Path
getSaveFile()
method_572()
getFile()
public boolean
saveToFile(Path saveFile, ReportType reportType, List<String> extraComments)
method_569(Path arg0, class_9813 arg1, List<String> arg2)
writeToFile(Path path, ReportType type, List<String> extraInfo)
public boolean
saveToFile(Path file, ReportType reportType)
method_60919(Path arg0, class_9813 arg1)
writeToFile(Path path, ReportType type)
public SystemDetails
getSystemReport()
method_567()
getSystemDetailsSection()
public CrashReportSection
addCategory(String name)
method_562(String arg0)
addElement(String name)
public CrashReportSection
addCategory(String name, int nestedOffset)
method_556(String arg0, int arg1)
addElement(String name, int ignoredStackTraceCallCount)
public static CrashReport
forThrowable(Throwable t, String title)
method_560(Throwable arg0, String arg1)
create(Throwable cause, String title)
public static void
preload()
method_24305()
initCrashReport()