I suggest combining `checkedParam` and this method by throwing a `InvalidParameter` as the `default` argument default value.