com.brettonw.game.InvalidMoveException Maven / Gradle / Ivy
The newest version!
package com.brettonw.game;
public class InvalidMoveException extends RuntimeException {
public InvalidMoveException (int x, int y) {
super("(" + x + ", " + y + ") must be within range (0.." + Board.DIMENSION + ", 0.." + Board.DIMENSION + ")");
}
}