private function handleInteger ($variable, $number)
    {
        if (!is_integer($number))
        {
            throw new \InvalidArgumentException(sprintf("The %s must be an integer", $variable));
        }

        if ($number < 0)
        {
            $message = sprintf("The %s cannot be less than 0.", $variable);

            throw new \OutOfBoundsException($message, 1);
        }
    }