Class UnrecognizedOptionException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AmbiguousOptionException

Thrown during parsing signaling an unrecognized option.
See Also:
  • Constructor Details

    • UnrecognizedOptionException

      Constructs a new UnrecognizedArgumentException with the specified detail message.
      Parameters:
      message - the detail message
    • UnrecognizedOptionException

      public UnrecognizedOptionException(String message, String option)
      Constructs a new UnrecognizedArgumentException with the specified option and detail message.
      Parameters:
      message - the detail message
      option - the unrecognized option
      Since:
      1.2
  • Method Details

    • getOption

      public String getOption()
      Gets the unrecognized option.
      Returns:
      the related option
      Since:
      1.2