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

tony at iowaoutdoors.org tony at iowaoutdoors.org
Tue Jul 27 16:37:03 EDT 2004


Update of /var/cvs/Auth_Enterprise/Enterprise
In directory www:/tmp/cvs-serv24961

Modified Files:
	Exceptions.php 
Log Message:
Added AEInsufficientClientOptions

Index: Exceptions.php
===================================================================
RCS file: /var/cvs/Auth_Enterprise/Enterprise/Exceptions.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Exceptions.php	8 Jul 2004 14:36:16 -0000	1.1
--- Exceptions.php	27 Jul 2004 20:36:59 -0000	1.2
***************
*** 229,232 ****
--- 229,243 ----
  }
  
+ class AEInsufficientClientOptions extends AEBaseException {
+     public function __construct($message='')
+     {
+         if (empty($message)) {
+             $message = 'You did not give enough configuration options to the client you tried to instantiate.';
+         }
+         
+         parent::__construct($message);
+     }
+ }
+ 
  class AENotImplemented extends AEBaseException {
      public function __construct($message='')
***************
*** 239,241 ****
--- 250,253 ----
      }
  }
+ 
  ?>




More information about the geeklog-cvs mailing list