GameTestTimeoutException.java

net.minecraft.gametest.framework.GameTestTimeoutException

信息

  • 全限定名:net.minecraft.gametest.framework.GameTestTimeoutException
  • 类型:public class
  • 包:net.minecraft.gametest.framework
  • 源码路径:src/main/java/net/minecraft/gametest/framework/GameTestTimeoutException.java
  • 起始行号:L5
  • 继承:GameTestException
  • 职责:

    TODO

字段/常量

  • message
    • 类型: Component
    • 修饰符: protected final
    • 源码定位: L6
    • 说明:

      TODO

内部类/嵌套类型

构造器

public GameTestTimeoutException(Component message) @ L8

  • 构造器名:GameTestTimeoutException
  • 源码定位:L8
  • 修饰符:public

参数:

  • message: Component

说明:

TODO

方法

下面的方法块按源码顺序生成。

public Component getDescription() @ L13

  • 方法名:getDescription
  • 源码定位:L13
  • 返回类型:Component
  • 修饰符:public

参数:

说明:

TODO

代码

public class GameTestTimeoutException extends GameTestException {
    protected final Component message;
 
    public GameTestTimeoutException(Component message) {
        super(message.getString());
        this.message = message;
    }
 
    @Override
    public Component getDescription() {
        return this.message;
    }
}

引用的其他类