Well, may question is about the Scope of Throwed
Execeptions. Look my example:

I have something like this:

                    //...cut...
                    try {
                         $res =
$this->curl->GET($this->url[0]);
                    } catch (Exception $e) {
                                 return FALSE;
                    }
                   //...cut...

and in the curl class, something like this:           
       

                   //...cut...
                  $result = curl_exec ($this->rs);
                  $this->err = curl_errno($this->rs);
                  if ($this->err)
                          throw new
Exception(curl_error($this->rs) . " (error in GET)");
                  //...cut...

But it doesnīt work. Why? Am I wrong? The throwed
exception is out of scope or maybe itīs a bug????


Regards,

Atenciosamente, 
Eduardo R. Maciel 
RedHat Certified Engineer 
Cert nr: 807303591107614 
http://www.redhat.com/training/certification/verify/


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to