Class CrashReportExtender.ModLoadingCrashException

java.lang.Object
java.lang.Throwable
java.lang.Exception
net.neoforged.neoforge.logging.CrashReportExtender.ModLoadingCrashException
All Implemented Interfaces:
Serializable
Enclosing class:
CrashReportExtender

private static class CrashReportExtender.ModLoadingCrashException extends Exception
Dummy exception used as the 'root' exception in mod loading crash reports, which has no stack trace.

The stacktrace is very likely to be constant (since its only invoked by the sided mod loader classes), so their stacktrace is irrelevant for debugging and only serve to distract the reader from the actual exceptions further down in the crash report.

  • Constructor Details

    • ModLoadingCrashException

      public ModLoadingCrashException(String message)
  • Method Details