Class InvalidHierarchicalFileException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
net.minecraft.util.InvalidHierarchicalFileException
All Implemented Interfaces:
Serializable

public class InvalidHierarchicalFileException extends IOException
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 aez
intermediary net/minecraft/class_2973
named net/minecraft/util/InvalidHierarchicalFileException
  • Field Details

    • invalidFiles

      private final List<InvalidHierarchicalFileException.File> invalidFiles
      Mappings:
      Namespace Name Mixin selector
      official a Laez;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

      private final String message
      Mappings:
      Namespace Name Mixin selector
      official b Laez;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

      public InvalidHierarchicalFileException(String message)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laez;<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

      public InvalidHierarchicalFileException(String message, Throwable cause)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laez;<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

      public void addInvalidKey(String key)
      Mappings:
      Namespace Name Mixin selector
      official a Laez;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

      public void addInvalidFile(String fileName)
      Mappings:
      Namespace Name Mixin selector
      official b Laez;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

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • wrap

      public static InvalidHierarchicalFileException wrap(Exception cause)
      Mappings:
      Namespace Name Mixin selector
      official a Laez;a(Ljava/lang/Exception;)Laez;
      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;