24 lines
567 B
Java
24 lines
567 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package net.minecraft.gametest.framework;
|
|
|
|
import net.minecraft.gametest.framework.GameTestException;
|
|
import net.minecraft.network.chat.Component;
|
|
|
|
public class UnknownGameTestException
|
|
extends GameTestException {
|
|
private final Throwable reason;
|
|
|
|
public UnknownGameTestException(Throwable reason) {
|
|
super(reason.getMessage());
|
|
this.reason = reason;
|
|
}
|
|
|
|
@Override
|
|
public Component getDescription() {
|
|
return Component.translatable("test.error.unknown", this.reason.getMessage());
|
|
}
|
|
}
|
|
|