open class InvalidValueException : CLIException
Exception thrown when an option or an argument receives an invalid value.
Author
Clement Escoffier
InvalidValueException(option: Option, value: String)
Creates a new instance of InvalidValueException for the given option and the given value. This constructor is used when the option receives a value while it does not accept another value. InvalidValueException(argument: Argument, value: String, cause: Exception)
Creates a new instance of InvalidValueException for the given argument and the given value. This constructor is used when the argument receives a value that cannot be "converted" to the desired type. InvalidValueException(option: Option, value: String, cause: Exception)
Creates a new instance of InvalidValueException for the given option and the given value. This constructor is used when the options receives a value that cannot be "converted" to the desired type. |
open fun getArgument(): Argument |
|
open fun getOption(): Option |
|
open fun getValue(): String |