[geeklog-cvs] Auth_Enterprise/Common Exceptions.php,1.1,1.2

tony at iowaoutdoors.org tony at iowaoutdoors.org
Sun Jul 4 13:01:13 EDT 2004


Update of /var/cvs/Auth_Enterprise/Common
In directory www:/tmp/cvs-serv29427

Modified Files:
	Exceptions.php 
Log Message:
Now includes PEAR_Exception.

Index: Exceptions.php
===================================================================
RCS file: /var/cvs/Auth_Enterprise/Common/Exceptions.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Exceptions.php	4 Jul 2004 15:12:12 -0000	1.1
--- Exceptions.php	4 Jul 2004 17:01:11 -0000	1.2
***************
*** 2,5 ****
--- 2,15 ----
  
  /**
+ * Temporary Hack to bring in PEAR Exception.  I put it in the base PEAR directory
+ * for now.  Until the exception handling is figured out in PHP5, you may have to
+ * change the include path here.  In the end I'm guessing the PHP5 PEAR.php will
+ * include this class but until that happens I'm including it explicitly.  You can
+ * get the class from http://cvs.php.net/co.php/pear-core/PEAR/Exception.php
+ *
+ */
+ require_once 'Exception.php';
+ 
+ /**
  * Auth_Enterprise
  *
***************
*** 13,20 ****
  * @copyright 2004
  * @version $Id$
! *
  */
  
! class AEBaseException extends Exception {
      public $xmlRPCErrorOffset;
      public function getXMLErrorOffset()
--- 23,32 ----
  * @copyright 2004
  * @version $Id$
! * @todo Need to rename these from AE<exceptionname> to Enteprise_<exceptionname>.  This will take
! * some work because they are used all over the place (sigh)
! * 
  */
  
! class AEBaseException extends PEAR_Exception {
      public $xmlRPCErrorOffset;
      public function getXMLErrorOffset()




More information about the geeklog-cvs mailing list