Class ParseOptionOutOfRangeException

All Implemented Interfaces:
Serializable

public class ParseOptionOutOfRangeException extends ParseRestrictionViolatedException
Error that indicates that an options value was outside of an acceptable range
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • illegalValue

      private final Object illegalValue
    • min

      private final Object min
    • max

      private final Object max
    • minInclusive

      private final boolean minInclusive
    • maxInclusive

      private final boolean maxInclusive
  • Constructor Details

    • ParseOptionOutOfRangeException

      public ParseOptionOutOfRangeException(String optionTitle, Object value, Object min, boolean minInclusive, Object max, boolean maxInclusive)
      Creates a new out of range exception
      Parameters:
      optionTitle - Option title
      value - The value which is out of range
      min - Minimum value which may be null for no minimum
      minInclusive - Whether the minimum value is inclusive
      max - Maximum value which may be null for no maximum
      maxInclusive - Whether the maximum value is inclusive
  • Method Details

    • getIllegalValue

      public Object getIllegalValue()
    • getMinimumValue

      public Object getMinimumValue()
    • getMaximumValue

      public Object getMaximumValue()
    • isMinimumInclusive

      public boolean isMinimumInclusive()
    • isMaximumInclusive

      public boolean isMaximumInclusive()