org.rogach.scallop

exceptions

package exceptions

Visibility
  1. Public
  2. All

Type Members

  1. class IdenticalOptionNames extends ScallopException

    Thrown when several options and/or trailing arguments have identical names in definition - making it impossible to distinguish between them.

  2. class IllegalOptionParameters extends ScallopException

    Thrown when user tried to create an option with some illegal parameters

  3. class IncompleteBuildException extends ScallopException

    Thrown when user tried to extract the value of an option before the call to verify in ScallopConf.

  4. class MajorInternalException extends ScallopException

    This is a special case of exception - the one you should never see.

  5. class OptionParseException extends ScallopException

    Thrown when Scallop fails to parse the argument line (usually when there are some problems with trailing args).

  6. class OptionSetValidationFailure extends ScallopException

    Trown when some validation for option set failed.

  7. class RequiredOptionNotFound extends ScallopException

    Thrown when parser failed to find arguments to option (marked as 'required') in the input arguments.

  8. abstract class ScallopException extends Exception

    Parent class for all exceptions thrown from this library.

  9. class UnknownOption extends ScallopException

    Thrown when user provides Scallop with unknown option name in the arguments or requests unknown option result from parser.

  10. class ValidationFailure extends ScallopException

    Thrown when the validation failed on some option.

  11. class WrongOptionFormat extends ScallopException

    Thrown when arguments to some option do not satisfy that option's value converter (it returns Left in such case).

  12. class WrongTypeRequest extends ScallopException

    Thrown when the user requests wrong type of option argument from Scallop.