Class InvalidIdentifierException

All Implemented Interfaces:
Serializable

public class InvalidIdentifierException extends RuntimeException
An exception thrown when parsing or constructing an Identifier that contains an invalid character. This should not be caught, instead Identifier.tryParse(java.lang.String) or Identifier.of(java.lang.String, java.lang.String) should be used.
See Also:
Mappings:
Namespace Name
official z
intermediary net/minecraft/class_151
named net/minecraft/util/InvalidIdentifierException
  • Constructor Details

    • InvalidIdentifierException

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

      public InvalidIdentifierException(String message, Throwable throwable)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lz;<init>(Ljava/lang/String;Ljava/lang/Throwable;)V
      intermediary <init> Lnet/minecraft/class_151;<init>(Ljava/lang/String;Ljava/lang/Throwable;)V
      named <init> Lnet/minecraft/util/InvalidIdentifierException;<init>(Ljava/lang/String;Ljava/lang/Throwable;)V