Package sudoku
Class Player.BadRejectionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- sudoku.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 Summary
Fields Modifier and Type Field Description (package private) int
_crashingPlayerId
(package private) int
_playerDigit
(package private) int
_rejectedDigit
(package private) int
_rejectingTableId
-
Constructor Summary
Constructors Constructor Description BadRejectionException(String msg, int rejectingTableId, int crashingPlayerId, int rejectedDigit, int playerDigit)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BadRejectionException
public BadRejectionException(String msg, int rejectingTableId, int crashingPlayerId, int rejectedDigit, int playerDigit)
-
-