Package net.minecraft.util
Class InvalidHierarchicalFileException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
net.minecraft.util.InvalidHierarchicalFileException
- All Implemented Interfaces:
Serializable
An exception that tracks the names of the invalid files and the path to
the invalid element in a hierarchical tree structure (such as JSON).
- See Also:
- Mappings:
Namespace Name official ahj
intermediary net/minecraft/class_2973
named net/minecraft/util/InvalidHierarchicalFileException
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<InvalidHierarchicalFileException.File>
private final String
-
Constructor Summary
ConstructorDescriptionInvalidHierarchicalFileException
(String message) InvalidHierarchicalFileException
(String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInvalidFile
(String fileName) void
addInvalidKey
(String key) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
invalidFiles
- Mappings:
Namespace Name Mixin selector official a
Lahj;a:Ljava/util/List;
intermediary field_13371
Lnet/minecraft/class_2973;field_13371:Ljava/util/List;
named invalidFiles
Lnet/minecraft/util/InvalidHierarchicalFileException;invalidFiles:Ljava/util/List;
-
message
- Mappings:
Namespace Name Mixin selector official b
Lahj;b:Ljava/lang/String;
intermediary field_13372
Lnet/minecraft/class_2973;field_13372:Ljava/lang/String;
named message
Lnet/minecraft/util/InvalidHierarchicalFileException;message:Ljava/lang/String;
-
-
Constructor Details
-
InvalidHierarchicalFileException
- Mappings:
Namespace Name Mixin selector official <init>
Lahj;<init>(Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_2973;<init>(Ljava/lang/String;)V
named <init>
Lnet/minecraft/util/InvalidHierarchicalFileException;<init>(Ljava/lang/String;)V
-
InvalidHierarchicalFileException
- Mappings:
Namespace Name Mixin selector official <init>
Lahj;<init>(Ljava/lang/String;Ljava/lang/Throwable;)V
intermediary <init>
Lnet/minecraft/class_2973;<init>(Ljava/lang/String;Ljava/lang/Throwable;)V
named <init>
Lnet/minecraft/util/InvalidHierarchicalFileException;<init>(Ljava/lang/String;Ljava/lang/Throwable;)V
-
-
Method Details
-
addInvalidKey
- Mappings:
Namespace Name Mixin selector official a
Lahj;a(Ljava/lang/String;)V
intermediary method_12854
Lnet/minecraft/class_2973;method_12854(Ljava/lang/String;)V
named addInvalidKey
Lnet/minecraft/util/InvalidHierarchicalFileException;addInvalidKey(Ljava/lang/String;)V
-
addInvalidFile
- Mappings:
Namespace Name Mixin selector official b
Lahj;b(Ljava/lang/String;)V
intermediary method_12855
Lnet/minecraft/class_2973;method_12855(Ljava/lang/String;)V
named addInvalidFile
Lnet/minecraft/util/InvalidHierarchicalFileException;addInvalidFile(Ljava/lang/String;)V
-
getMessage
- Overrides:
getMessage
in classThrowable
-
wrap
- Mappings:
Namespace Name Mixin selector official a
Lahj;a(Ljava/lang/Exception;)Lahj;
intermediary method_12856
Lnet/minecraft/class_2973;method_12856(Ljava/lang/Exception;)Lnet/minecraft/class_2973;
named wrap
Lnet/minecraft/util/InvalidHierarchicalFileException;wrap(Ljava/lang/Exception;)Lnet/minecraft/util/InvalidHierarchicalFileException;
-