vertx / io.vertx.core.cli / TypedArgument / ensureValidity

ensureValidity

open fun ensureValidity(): Unit

Overrides Argument.ensureValidity

Checks whether or not the argument configuration is valid. In addition of the check made by the parent class it ensures that the type is set. If the configuration is not valid, this method throws a IllegalArgumentException.