[geeklog-cvs] Auth_Enterprise/Common AEExceptions.php,1.1.1.1,1.2

tony at iowaoutdoors.org tony at iowaoutdoors.org
Thu Jun 17 17:04:31 EDT 2004


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

Modified Files:
	AEExceptions.php 
Log Message:
Added AEInsufficientClientOptions used when the client providers get the wrong number of options passed to them.

Index: AEExceptions.php
===================================================================
RCS file: /var/cvs/Auth_Enterprise/Common/AEExceptions.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** AEExceptions.php	15 Jun 2004 15:19:27 -0000	1.1.1.1
--- AEExceptions.php	17 Jun 2004 21:04:29 -0000	1.2
***************
*** 133,135 ****
--- 133,145 ----
  }
  
+ class AEInsufficientClientOptions extends Exception {
+     public function __construct($message)
+     {
+         if (empty($message)) {
+             $message = 'The options given to the client are not sufficient';
+         }
+         
+         parent::__construct($message);
+     }
+ 
  ?>
\ No newline at end of file




More information about the geeklog-cvs mailing list