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
official tr
intermediary net/minecraft/class_7437
named net/minecraft/util/TextifiedException
  • Field Details

    • messageText

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

    • TextifiedException

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

      public TextifiedException(Text messageText, Throwable cause)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ltr;<init>(Lss;Ljava/lang/Throwable;)V
      intermediary <init> Lnet/minecraft/class_7437;<init>(Lnet/minecraft/class_2561;Ljava/lang/Throwable;)V
      named <init> Lnet/minecraft/util/TextifiedException;<init>(Lnet/minecraft/text/Text;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
      official b Ltr;b()Lss;
      intermediary method_43626 Lnet/minecraft/class_7437;method_43626()Lnet/minecraft/class_2561;
      named getMessageText Lnet/minecraft/util/TextifiedException;getMessageText()Lnet/minecraft/text/Text;