gomoveoutoforder.java
来自「ErGo是一个很早的Java通用围棋服务器(IGS/NNGS)客户端程序。有全部」· Java 代码 · 共 23 行
JAVA
23 行
package ergo.util;
// $Id: GoMoveOutOfOrder.java,v 1.2 1999/08/13 01:20:43 sigue Exp $
/*
* Copyright (C) 1999 Carl L. Gay and Antranig M. Basman.
* See the file copyright.txt, distributed with this software,
* for further information.
*/
// Attempt to creat a Move object whos move number is not equal
// to 1 + parent.moveNumber();
public class GoMoveOutOfOrder extends IllegalMoveException {
public GoMoveOutOfOrder (int num, int expected) {
super("Attempt to place move #" + num +
" when #" + expected + " expected");
}
public GoMoveOutOfOrder (int num) {
super("Attempt to place first move of game with number " + num + ".");
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?