Class RealmsServiceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
net.minecraft.client.realms.exception.RealmsServiceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RetryCallException

@Environment(CLIENT) public class RealmsServiceException extends Exception
See Also:
Mappings:
Namespace Name
official ebs
intermediary net/minecraft/class_4355
named net/minecraft/client/realms/exception/RealmsServiceException
  • Field Details

    • httpResultCode

      public final int httpResultCode
      Mappings:
      Namespace Name Mixin selector
      official a Lebs;a:I
      intermediary field_19604 Lnet/minecraft/class_4355;field_19604:I
      named httpResultCode Lnet/minecraft/client/realms/exception/RealmsServiceException;httpResultCode:I
    • httpResponseText

      public final String httpResponseText
      Mappings:
      Namespace Name Mixin selector
      official b Lebs;b:Ljava/lang/String;
      intermediary field_36319 Lnet/minecraft/class_4355;field_36319:Ljava/lang/String;
      named httpResponseText Lnet/minecraft/client/realms/exception/RealmsServiceException;httpResponseText:Ljava/lang/String;
    • error

      @Nullable public final @Nullable RealmsError error
      Mappings:
      Namespace Name Mixin selector
      official c Lebs;c:Leaj;
      intermediary field_36320 Lnet/minecraft/class_4355;field_36320:Lnet/minecraft/class_4345;
      named error Lnet/minecraft/client/realms/exception/RealmsServiceException;error:Lnet/minecraft/client/realms/RealmsError;
  • Constructor Details

    • RealmsServiceException

      public RealmsServiceException(int httpResultCode, String httpResponseText, RealmsError error)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lebs;<init>(ILjava/lang/String;Leaj;)V
      intermediary <init> Lnet/minecraft/class_4355;<init>(ILjava/lang/String;Lnet/minecraft/class_4345;)V
      named <init> Lnet/minecraft/client/realms/exception/RealmsServiceException;<init>(ILjava/lang/String;Lnet/minecraft/client/realms/RealmsError;)V
    • RealmsServiceException

      public RealmsServiceException(int httpResultCode, String httpResponseText)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lebs;<init>(ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_4355;<init>(ILjava/lang/String;)V
      named <init> Lnet/minecraft/client/realms/exception/RealmsServiceException;<init>(ILjava/lang/String;)V
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Throwable
    • getErrorCode

      public int getErrorCode(int fallback)
      Mappings:
      Namespace Name Mixin selector
      official a Lebs;a(I)I
      intermediary method_39980 Lnet/minecraft/class_4355;method_39980(I)I
      named getErrorCode Lnet/minecraft/client/realms/exception/RealmsServiceException;getErrorCode(I)I