Class TextifiedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
net.minecraft.util.TextifiedException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AbuseReportSender.AbuseReportException, MessageChain.MessageChainException, PlayerPublicKey.PublicKeyException

public class TextifiedException extends Exception
An exception that has a user-friendly Text attached.
See Also:
Mappings:
Namespace Name
named net/minecraft/util/TextifiedException
intermediary net/minecraft/class_7437
official yv
  • Field Details

    • messageText

      private final Text messageText
      Mappings:
      Namespace Name Mixin selector
      named messageText Lnet/minecraft/util/TextifiedException;messageText:Lnet/minecraft/text/Text;
      intermediary field_39084 Lnet/minecraft/class_7437;field_39084:Lnet/minecraft/class_2561;
      official a Lyv;a:Lxv;
  • Constructor Details

    • TextifiedException

      public TextifiedException(Text messageText)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/TextifiedException;<init>(Lnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_7437;<init>(Lnet/minecraft/class_2561;)V
      official <init> Lyv;<init>(Lxv;)V
    • TextifiedException

      public TextifiedException(Text messageText, Throwable cause)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/TextifiedException;<init>(Lnet/minecraft/text/Text;Ljava/lang/Throwable;)V
      intermediary <init> Lnet/minecraft/class_7437;<init>(Lnet/minecraft/class_2561;Ljava/lang/Throwable;)V
      official <init> Lyv;<init>(Lxv;Ljava/lang/Throwable;)V
  • Method Details

    • getMessageText

      public Text getMessageText()
      Returns the exception's message text.
      Returns:
      the exception's message text
      Mappings:
      Namespace Name Mixin selector
      named getMessageText Lnet/minecraft/util/TextifiedException;getMessageText()Lnet/minecraft/text/Text;
      intermediary method_43626 Lnet/minecraft/class_7437;method_43626()Lnet/minecraft/class_2561;
      official a Lyv;a()Lxv;