Package sudoku
Class Player.BadFinishException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- sudoku.Player.BadFinishException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Player
public static class Player.BadFinishException extends RuntimeException
Custom exception thrown when Table finishes negotiations with a digit different from what was offered.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
_crashingPlayerId
(package private) int
_finishTableId
(package private) int
_playerDigit
(package private) int
_tableDigit
-
Constructor Summary
Constructors Constructor Description BadFinishException(String msg, int finishTableId, int crashingPlayerId, int playerDigit, int tableDigit)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BadFinishException
public BadFinishException(String msg, int finishTableId, int crashingPlayerId, int playerDigit, int tableDigit)
-
-