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 named net/minecraft/util/TextifiedException
intermediary net/minecraft/class_7437
official yv
-
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 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
- 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
- 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
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;
-