22 lines
430 B
Java
22 lines
430 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package com.mojang.realmsclient.exception;
|
|
|
|
import com.mojang.realmsclient.client.RealmsError;
|
|
|
|
public class RealmsServiceException
|
|
extends Exception {
|
|
public final RealmsError realmsError;
|
|
|
|
public RealmsServiceException(RealmsError error) {
|
|
this.realmsError = error;
|
|
}
|
|
|
|
@Override
|
|
public String getMessage() {
|
|
return this.realmsError.logMessage();
|
|
}
|
|
}
|
|
|