public class MissingModsException extends EnhancedRuntimeException implements IDisplayableError
Modifier and Type | Class and Description |
---|---|
static class |
MissingModsException.MissingModInfo |
EnhancedRuntimeException.WrappedPrintStream
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
id |
java.util.Set<ArtifactVersion> |
missingMods
Deprecated.
|
private java.util.List<MissingModsException.MissingModInfo> |
missingModsInfos |
private java.lang.String |
modName |
private java.lang.String |
name |
private static long |
serialVersionUID |
Constructor and Description |
---|
MissingModsException(java.util.Set<ArtifactVersion> missingMods,
java.lang.String id,
java.lang.String name)
Deprecated.
|
MissingModsException(java.lang.String id,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addMissingMod(ArtifactVersion acceptedVersion,
ArtifactVersion currentVersion,
boolean required) |
GuiScreen |
createGui() |
java.lang.String |
getMessage() |
java.util.List<MissingModsException.MissingModInfo> |
getMissingModInfos() |
java.lang.String |
getModName() |
protected void |
printStackTrace(EnhancedRuntimeException.WrappedPrintStream stream) |
printStackTrace, printStackTrace
private static final long serialVersionUID
private final java.lang.String id
private final java.lang.String name
@Deprecated public final java.util.Set<ArtifactVersion> missingMods
getMissingModInfos()
private final java.util.List<MissingModsException.MissingModInfo> missingModsInfos
private final java.lang.String modName
public MissingModsException(java.lang.String id, java.lang.String name)
@Deprecated public MissingModsException(java.util.Set<ArtifactVersion> missingMods, java.lang.String id, java.lang.String name)
MissingModsException(String, String)
public java.lang.String getMessage()
getMessage
in class EnhancedRuntimeException
public void addMissingMod(ArtifactVersion acceptedVersion, @Nullable ArtifactVersion currentVersion, boolean required)
public java.lang.String getModName()
public java.util.List<MissingModsException.MissingModInfo> getMissingModInfos()
protected void printStackTrace(EnhancedRuntimeException.WrappedPrintStream stream)
printStackTrace
in class EnhancedRuntimeException
public GuiScreen createGui()
createGui
in interface IDisplayableError