Package joptsimple

Class OptionException

All Implemented Interfaces:
Serializable

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

  • Method Details

    • options

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

      protected final String singleOptionString()
    • singleOptionString

      protected final String singleOptionString(String option)
    • multipleOptionString

      protected final String multipleOptionString()
    • getMessage

      public final String getMessage()
      Overrides:
      getMessage in class Throwable