cvs: peardoc /en/package/webservices/services-ebay error-handling.xml

From: Date: Sun, 12 Jun 2005 09:04:41 +0000
Subject: cvs: peardoc /en/package/webservices/services-ebay error-handling.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-6300@lists.php.net to get a copy of this message
mj Sun Jun 12 05:04:41 2005 EDT Modified files: /peardoc/en/package/webservices/services-ebay error-handling.xml Log: * Fixed typos in the example code for the error handling section. http://cvs.php.net/diff.php/peardoc/en/package/webservices/services-ebay/error-handling.xml?r1=1.1&r2=1.2&ty=u Index: peardoc/en/package/webservices/services-ebay/error-handling.xml diff -u peardoc/en/package/webservices/services-ebay/error-handling.xml:1.1 peardoc/en/package/webservices/services-ebay/error-handling.xml:1.2 --- peardoc/en/package/webservices/services-ebay/error-handling.xml:1.1 Sun Jun 5 11:18:39 2005 +++ peardoc/en/package/webservices/services-ebay/error-handling.xml Sun Jun 12 05:04:40 2005 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.webservices.services-ebay.error-handling"> <refnamediv> <refname>Error Handling</refname> @@ -26,7 +26,7 @@ try { // call a method echo $ebay->GeteBayOfficialTime(); -} catch (Exceptio $e) { +} catch (Exception $e) { echo "Something went wrong."; echo $e; }]]> @@ -67,7 +67,7 @@ try { // call a method echo $ebay->GeteBayOfficialTime(); -} catch (Exceptio $e) { +} catch (Exception $e) { // Just ignore the exception and handle them // with any warnings, that might have occured. }

« previous php.pear.doc (#6300) next »