Class IllegalStatValueException

All Implemented Interfaces:
Serializable

public class IllegalStatValueException extends IllegalException
This exception is thrown when a stat value is not valid.
Author:
Brage Halvorsen Kvamme
See Also:
  • Constructor Details

    • IllegalStatValueException

      public IllegalStatValueException(int lowerBounds, int upperBounds)
      This method constructs a new IllegalStatValueException with the specified bounds for legal values.
      Parameters:
      lowerBounds - The lower bound of the stat value, given as an int
      upperBounds - The upper bound of the stat value, given as an int
    • IllegalStatValueException

      public IllegalStatValueException(int lowerBounds)
      This method constructs a new IllegalStatValueException with the specified lower bound for legal values.
      Parameters:
      lowerBounds - The lower bound of the stat value, given as an int
    • IllegalStatValueException

      public IllegalStatValueException()
      This method constructs a new IllegalStatValueException with the specified lower bound of zero.