Class InvalidDraftCardSelectionException

All Implemented Interfaces:
Serializable

public final class InvalidDraftCardSelectionException extends DraftException
Indicates the end user made an invalid card selection (the index was out of bounds).
See Also:
  • Constructor Details

    • InvalidDraftCardSelectionException

      public InvalidDraftCardSelectionException(int choiceIndex, PrivateDraftState privateState)
      Creates this exception
      Parameters:
      choiceIndex -
      privateState -
  • Method Details

    • getChoiceIndex

      public int getChoiceIndex()
      The invalid choice index that was made
      Returns:
    • getPrivateState

      public PrivateDraftState getPrivateState()
      The current private state of the draft
      Returns: