Package net.neoforged.fml.startup
Class FatalErrorReporting
java.lang.Object
net.neoforged.fml.startup.FatalErrorReporting
Handles reporting of fatal errors for UI-based entrypoints (i.e. clients).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidappendAbbreviatedExceptionChain(Throwable t, StringBuilder exceptionText) private static voidcollectModLoadingIssues(Throwable t, List<ModLoadingIssue> issues) private static BaseMultiResolutionImageprivate static StringescapeHtmlContent(String content) invalid input: '&' & invalid input: '<' < > > " " ' 'private static voidstatic voidreportFatalError(String message) Report a fatal startup error.static voidstatic voidprivate static voidshowErrorUsingSwing(String message) private static Throwable
-
Constructor Details
-
FatalErrorReporting
private FatalErrorReporting()
-
-
Method Details
-
unwrapException
-
reportFatalError
-
collectModLoadingIssues
-
appendAbbreviatedExceptionChain
-
reportFatalErrorOnConsole
-
reportFatalError
Report a fatal startup error. At this point, it doesn't matter if we double-classload from the system classloader, since we're about to exit. -
showErrorUsingSwing
-
createMultiResImage
-
readImage
-
escapeHtmlContent
invalid input: '&' & invalid input: '<' < > > " " ' '
-