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
named net/minecraft/util/InvalidIdentifierException
intermediary net/minecraft/class_151
official z
  • Constructor Details

    • InvalidIdentifierException

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

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