Class OptionException

All Implemented Interfaces:
Serializable

public abstract class OptionException extends RuntimeException
Thrown when a problem occurs during option parsing.
See Also:
  • Constructor Details

  • Method Details

    • options

      public Collection<String> options()
      Gives the option being considered when the exception was created.
      Returns:
      the option being considered when the exception was created
    • singleOptionMessage

      protected final String singleOptionMessage()
    • singleOptionMessage

      protected final String singleOptionMessage(String option)
    • multipleOptionMessage

      protected final String multipleOptionMessage()