FELIX-2221 Throw documented (checked) exception instead of undocumented unchecked exception (IllegalArgumentException)