Module app

Class IllegalMoveAttempt

All Implemented Interfaces:
Serializable

public class IllegalMoveAttempt extends RuntimeException
Thrown when an illegal move is attempted, e.g. moving piece that belongs to other player, or breaking game rules
See Also:
  • Constructor Details

    • IllegalMoveAttempt

      public IllegalMoveAttempt()
    • IllegalMoveAttempt

      public IllegalMoveAttempt(String message)