vertx / io.vertx.core.cli / Argument / ensureValidity

# ensureValidity

`open fun ensureValidity(): Unit`

Checks that the argument configuration is valid. This method is mainly made for children classes adding constraint to the configuration. The parser verifies that arguments are valid before starting the parsing. If the configuration is not valid, this method throws a IllegalArgumentException.