Package sudoku

Class Player.BadRejectionException

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    Player

    public static class Player.BadRejectionException
    extends RuntimeException
    Custom exception thrown when a Player receives RejectOfferMsg with a different digit it offered.
    See Also:
    Serialized Form
    • Field Detail

      • _rejectingTableId

        final int _rejectingTableId
      • _crashingPlayerId

        final int _crashingPlayerId
      • _rejectedDigit

        final int _rejectedDigit
      • _playerDigit

        final int _playerDigit
    • Constructor Detail

      • BadRejectionException

        public BadRejectionException​(String msg,
                                     int rejectingTableId,
                                     int crashingPlayerId,
                                     int rejectedDigit,
                                     int playerDigit)