public class ModLoadingException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.Object> |
context
Context for message display
|
private ModLoadingStage |
errorStage
The stage where this error was encountered
|
private java.lang.String |
i18nMessage
I18N message to use for display
|
private net.minecraftforge.forgespi.language.IModInfo |
modInfo
Mod Info for mod with issue
|
Constructor and Description |
---|
ModLoadingException(net.minecraftforge.forgespi.language.IModInfo modInfo,
ModLoadingStage errorStage,
java.lang.String i18nMessage,
java.lang.Throwable originalException,
java.lang.Object... context) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
formatToString() |
(package private) static java.util.stream.Stream<ModLoadingException> |
fromEarlyException(EarlyLoadingException e) |
java.lang.Object[] |
getContext() |
java.lang.String |
getI18NMessage() |
java.lang.String |
getMessage() |
private final net.minecraftforge.forgespi.language.IModInfo modInfo
private final ModLoadingStage errorStage
private final java.lang.String i18nMessage
private final java.util.List<java.lang.Object> context
public ModLoadingException(net.minecraftforge.forgespi.language.IModInfo modInfo, ModLoadingStage errorStage, java.lang.String i18nMessage, java.lang.Throwable originalException, java.lang.Object... context)
static java.util.stream.Stream<ModLoadingException> fromEarlyException(EarlyLoadingException e)
public java.lang.String getI18NMessage()
public java.lang.Object[] getContext()
public java.lang.String formatToString()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable