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:
- Serialized Form
-
Field Summary
FieldsModifier and TypeFieldDescriptionContext for message displayprivate ModLoadingStageThe stage where this error was encounteredprivate StringI18N message to use for displayprivate net.minecraftforge.forgespi.language.IModInfoMod Info for mod with issueprivate static long -
Constructor Summary
ConstructorsConstructorDescriptionModLoadingException(net.minecraftforge.forgespi.language.IModInfo modInfo, ModLoadingStage errorStage, String i18nMessage, Throwable originalException, Object... context) -
Method Summary
Modifier and TypeMethodDescription(package private) static Stream<ModLoadingException>Object[]net.minecraftforge.forgespi.language.IModInfoMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
- Constant Field Values
-
modInfo
private final net.minecraftforge.forgespi.language.IModInfo modInfoMod Info for mod with issue -
errorStage
The stage where this error was encountered -
i18nMessage
I18N message to use for display -
context
Context for message display
-
-
Constructor Details
-
ModLoadingException
public ModLoadingException(net.minecraftforge.forgespi.language.IModInfo modInfo, ModLoadingStage errorStage, String i18nMessage, Throwable originalException, Object... context)
-
-
Method Details
-
fromEarlyException
-
getI18NMessage
-
getContext
-
formatToString
-
getMessage
- Overrides:
getMessagein classThrowable
-
getModInfo
public net.minecraftforge.forgespi.language.IModInfo getModInfo() -
getCleanMessage
-