public function setMin($min)
    {
        if (null !== $this->_max && $min > $this->_max) {
            /**
             * @see Zend_Validate_Exception
             */
            include_once 'Zend/Validate/Exception.php';
            throw new Zend_Validate_Exception(
                "The minimum must be less than or equal to the maximum length, but $min >"
                . " $this->_max"
            );
        }
        $this->_min = max(0, (integer) $min);
        return $this;
    }