Package net.minecraft.util
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
An exception that has a user-friendly
Text
attached.- See Also:
- Mappings:
Namespace Name official uk
intermediary net/minecraft/class_7437
named net/minecraft/util/TextifiedException
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTextifiedException
(Text messageText) TextifiedException
(Text messageText, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
messageText
- Mappings:
Namespace Name Mixin selector official a
Luk;a:Ltl;
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
- Mappings:
Namespace Name Mixin selector official <init>
Luk;<init>(Ltl;)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
- Mappings:
Namespace Name Mixin selector official <init>
Luk;<init>(Ltl;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
Returns the exception's message text.- Returns:
- the exception's message text
- Mappings:
Namespace Name Mixin selector official b
Luk;b()Ltl;
intermediary method_43626
Lnet/minecraft/class_7437;method_43626()Lnet/minecraft/class_2561;
named getMessageText
Lnet/minecraft/util/TextifiedException;getMessageText()Lnet/minecraft/text/Text;
-