Re: [PHP-DB] PHP 5 Error Handling

2004-09-15 Thread Joseph Crawford
> > -Original Message- > From: Joseph Crawford [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 14, 2004 5:55 AM > To: [PHP-DB] Mailing List > Subject: [PHP-DB] PHP 5 Error Handling > > Guys, > > i have been working with custom exception classes that ext

RE: [PHP-DB] PHP 5 Error Handling

2004-09-15 Thread Gary Every
; -Original Message- From: Joseph Crawford [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 5:55 AM To: [PHP-DB] Mailing List Subject: [PHP-DB] PHP 5 Error Handling Guys, i have been working with custom exception classes that extend the general exception. Here is some c

[PHP-DB] PHP 5 Error Handling

2004-09-14 Thread Joseph Crawford
Guys, i have been working with custom exception classes that extend the general exception. Here is some code i have public function command($cmd) { if($cmd) { $res = fputs($this->connection, $cmd); $this->response = fgets($this-