public function validate()
    {
        if (!$this->isValid( $this->getUrl() )) {
            throw new InvalidUrl( sprintf( '"%s" is not a valid url', $this->url ) );
        }

        return $this;
    }