Class InvalidDraftCardSelectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IndexOutOfBoundsException
com.hiddenswitch.spellsource.draft.DraftException
com.hiddenswitch.spellsource.draft.InvalidDraftCardSelectionException
- All Implemented Interfaces:
Serializable
Indicates the end user made an invalid card selection (the index was out of bounds).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidDraftCardSelectionException
(int choiceIndex, PrivateDraftState privateState) Creates this exception -
Method Summary
Modifier and TypeMethodDescriptionint
The invalid choice index that was madeThe current private state of the draftMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
Method Details
-
getChoiceIndex
public int getChoiceIndex()The invalid choice index that was made- Returns:
-
getPrivateState
The current private state of the draft- Returns:
-