Class IncorrectDiceValueException

All Implemented Interfaces:
Serializable

public class IncorrectDiceValueException extends IllegalArgumentException
An exception indicating that an incorrect dice value was provided. This exception is thrown when a dice value is outside the valid range [1, 6].
See Also:
  • Constructor Details

    • IncorrectDiceValueException

      public IncorrectDiceValueException()
      Constructs an IncorrectDiceValueException with a default error message. The default error message states that the dice value must be between 1 and 6.