Package net.minecraftforge.fml
Class ModLoadingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.minecraftforge.fml.ModLoadingException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ModList.UncaughtModLoadingException
General purpose mod loading error message
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionContext for message displayprivate final ModLoadingStageThe stage where this error was encounteredprivate final StringI18N message to use for displayprivate final net.minecraftforge.forgespi.language.IModInfoMod Info for mod with issueprivate static final long
- 
Constructor SummaryConstructorsConstructorDescriptionModLoadingException(net.minecraftforge.forgespi.language.IModInfo modInfo, ModLoadingStage errorStage, String i18nMessage, Throwable originalException, Object... context) 
- 
Method SummaryModifier and TypeMethodDescription(package private) static Stream<ModLoadingException> Object[]net.minecraftforge.forgespi.language.IModInfoMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Field Details- 
serialVersionUIDprivate static final long serialVersionUID- See Also:
 
- 
modInfoprivate final net.minecraftforge.forgespi.language.IModInfo modInfoMod Info for mod with issue
- 
errorStageThe stage where this error was encountered
- 
i18nMessageI18N message to use for display
- 
contextContext for message display
 
- 
- 
Constructor Details- 
ModLoadingExceptionpublic ModLoadingException(net.minecraftforge.forgespi.language.IModInfo modInfo, ModLoadingStage errorStage, String i18nMessage, Throwable originalException, Object... context) 
 
- 
- 
Method Details- 
fromEarlyException
- 
getI18NMessage
- 
getContext
- 
formatToString
- 
getMessage- Overrides:
- getMessagein class- Throwable
 
- 
getModInfopublic net.minecraftforge.forgespi.language.IModInfo getModInfo()
- 
getCleanMessage
 
-