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
named net/minecraft/util/InvalidHierarchicalFileException
intermediary net/minecraft/class_2973
official akn
  • Field Details

    • invalidFiles

      private final List<InvalidHierarchicalFileException.File> invalidFiles
      Mappings:
      Namespace Name Mixin selector
      named invalidFiles Lnet/minecraft/util/InvalidHierarchicalFileException;invalidFiles:Ljava/util/List;
      intermediary field_13371 Lnet/minecraft/class_2973;field_13371:Ljava/util/List;
      official a Lakn;a:Ljava/util/List;
    • message

      private final String message
      Mappings:
      Namespace Name Mixin selector
      named message Lnet/minecraft/util/InvalidHierarchicalFileException;message:Ljava/lang/String;
      intermediary field_13372 Lnet/minecraft/class_2973;field_13372:Ljava/lang/String;
      official b Lakn;b:Ljava/lang/String;
  • Constructor Details

    • InvalidHierarchicalFileException

      public InvalidHierarchicalFileException(String message)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/InvalidHierarchicalFileException;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_2973;<init>(Ljava/lang/String;)V
      official <init> Lakn;<init>(Ljava/lang/String;)V
    • InvalidHierarchicalFileException

      public InvalidHierarchicalFileException(String message, Throwable cause)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/InvalidHierarchicalFileException;<init>(Ljava/lang/String;Ljava/lang/Throwable;)V
      intermediary <init> Lnet/minecraft/class_2973;<init>(Ljava/lang/String;Ljava/lang/Throwable;)V
      official <init> Lakn;<init>(Ljava/lang/String;Ljava/lang/Throwable;)V
  • Method Details

    • addInvalidKey

      public void addInvalidKey(String key)
      Mappings:
      Namespace Name Mixin selector
      named addInvalidKey Lnet/minecraft/util/InvalidHierarchicalFileException;addInvalidKey(Ljava/lang/String;)V
      intermediary method_12854 Lnet/minecraft/class_2973;method_12854(Ljava/lang/String;)V
      official a Lakn;a(Ljava/lang/String;)V
    • addInvalidFile

      public void addInvalidFile(String fileName)
      Mappings:
      Namespace Name Mixin selector
      named addInvalidFile Lnet/minecraft/util/InvalidHierarchicalFileException;addInvalidFile(Ljava/lang/String;)V
      intermediary method_12855 Lnet/minecraft/class_2973;method_12855(Ljava/lang/String;)V
      official b Lakn;b(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
      named wrap Lnet/minecraft/util/InvalidHierarchicalFileException;wrap(Ljava/lang/Exception;)Lnet/minecraft/util/InvalidHierarchicalFileException;
      intermediary method_12856 Lnet/minecraft/class_2973;method_12856(Ljava/lang/Exception;)Lnet/minecraft/class_2973;
      official a Lakn;a(Ljava/lang/Exception;)Lakn;