public function setFragment($fragment)
        {
            if (null !== $fragment && !is_string($fragment)) {
                throw new Exception(
                        'Invalid argument: $fragment must be a string or null');
            }

            $this->_fragment = $fragment;
            return $this;
        }