Class ParseOptionOutOfRangeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ParseOptionOutOfRangeException
    extends ParseRestrictionViolatedException
    Error that indicates that an options value was outside of an acceptable range
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ParseOptionOutOfRangeException​(java.lang.String optionTitle, java.lang.Object value, java.lang.Object min, boolean minInclusive, java.lang.Object max, boolean maxInclusive)
      Creates a new out of range exception
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getIllegalValue()  
      java.lang.Object getMaximumValue()  
      java.lang.Object getMinimumValue()  
      boolean isMaximumInclusive()  
      boolean isMinimumInclusive()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • illegalValue

        private final java.lang.Object illegalValue
      • min

        private final java.lang.Object min
      • max

        private final java.lang.Object max
      • minInclusive

        private final boolean minInclusive
      • maxInclusive

        private final boolean maxInclusive
    • Constructor Detail

      • ParseOptionOutOfRangeException

        public ParseOptionOutOfRangeException​(java.lang.String optionTitle,
                                              java.lang.Object value,
                                              java.lang.Object min,
                                              boolean minInclusive,
                                              java.lang.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 Detail

      • getIllegalValue

        public java.lang.Object getIllegalValue()
      • getMinimumValue

        public java.lang.Object getMinimumValue()
      • getMaximumValue

        public java.lang.Object getMaximumValue()
      • isMinimumInclusive

        public boolean isMinimumInclusive()
      • isMaximumInclusive

        public boolean isMaximumInclusive()