Class ParseArgumentsIllegalValueException

All Implemented Interfaces:
Serializable

public class ParseArgumentsIllegalValueException extends ParseRestrictionViolatedException
Exception thrown when the value for an option is not in a specific set of allowed values
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • optionTitle

      private final String optionTitle
    • illegalValue

      private final Object illegalValue
    • allowedValues

      private final Set<Object> allowedValues
  • Constructor Details

    • ParseArgumentsIllegalValueException

      public ParseArgumentsIllegalValueException(String optionTitle, Object value, Set<Object> allowedValues)
  • Method Details

    • getOptionTitle

      public String getOptionTitle()
      Gets the option title
      Returns:
      Option title
    • getIllegalValue

      public Object getIllegalValue()
      Gets the illegal value
      Returns:
      Illegal value
    • getAllowedValues

      public Set<Object> getAllowedValues()
      Gets the set of allowed values
      Returns:
      Allowed values