public function getKeyParam($name, $default = null, $optional = false)
    {
        $value = $this->getIntParam($name, $default, $optional);
        if ($value !== null) {
            if ($value <= 0) {
                throw new InvalidParameterException("Parameter '{$name}' is invalid");
            }
        }
        return $value;
    }