Package net.minecraftforge.fml
Class CrashReportExtender
- java.lang.Object
-
- net.minecraftforge.fml.CrashReportExtender
-
public class CrashReportExtender extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.List<ICrashCallable>
crashCallables
-
Constructor Summary
Constructors Constructor Description CrashReportExtender()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addCrashReportHeader(java.lang.StringBuilder stringbuilder, CrashReport crashReport)
static java.io.File
dumpModLoadingCrashReport(org.apache.logging.log4j.Logger logger, LoadingFailedException error, java.io.File topLevelDir)
static void
enhanceCrashReport(CrashReport crashReport, CrashReportCategory category)
static java.lang.String
generateEnhancedStackTrace(java.lang.StackTraceElement[] stacktrace)
static java.lang.String
generateEnhancedStackTrace(java.lang.Throwable throwable)
static java.lang.String
generateEnhancedStackTrace(java.lang.Throwable throwable, boolean header)
static void
registerCrashCallable(java.lang.String headerName, java.util.concurrent.Callable<java.lang.String> reportGenerator)
static void
registerCrashCallable(ICrashCallable callable)
-
-
-
Field Detail
-
crashCallables
private static java.util.List<ICrashCallable> crashCallables
-
-
Method Detail
-
enhanceCrashReport
public static void enhanceCrashReport(CrashReport crashReport, CrashReportCategory category)
-
registerCrashCallable
public static void registerCrashCallable(ICrashCallable callable)
-
registerCrashCallable
public static void registerCrashCallable(java.lang.String headerName, java.util.concurrent.Callable<java.lang.String> reportGenerator)
-
addCrashReportHeader
public static void addCrashReportHeader(java.lang.StringBuilder stringbuilder, CrashReport crashReport)
-
generateEnhancedStackTrace
public static java.lang.String generateEnhancedStackTrace(java.lang.Throwable throwable)
-
generateEnhancedStackTrace
public static java.lang.String generateEnhancedStackTrace(java.lang.StackTraceElement[] stacktrace)
-
generateEnhancedStackTrace
public static java.lang.String generateEnhancedStackTrace(java.lang.Throwable throwable, boolean header)
-
dumpModLoadingCrashReport
public static java.io.File dumpModLoadingCrashReport(org.apache.logging.log4j.Logger logger, LoadingFailedException error, java.io.File topLevelDir)
-
-