[geeklog-cvs] Auth_Enterprise/Common AEExceptions.php,1.5,1.6

tony at iowaoutdoors.org tony at iowaoutdoors.org
Thu Jul 1 14:47:40 EDT 2004


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

Modified Files:
	AEExceptions.php 
Log Message:
Added new exceptions

Index: AEExceptions.php
===================================================================
RCS file: /var/cvs/Auth_Enterprise/Common/AEExceptions.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** AEExceptions.php	24 Jun 2004 21:56:50 -0000	1.5
--- AEExceptions.php	1 Jul 2004 18:47:38 -0000	1.6
***************
*** 33,37 ****
          }
          
!         parent::__construct($message);
      }
  }
--- 33,37 ----
          }
          
!         parent::__construct($message='');
      }
  }
***************
*** 45,49 ****
          }
          
!         parent::__construct($message);
      }
  }
--- 45,49 ----
          }
          
!         parent::__construct($message='');
      }
  }
***************
*** 64,68 ****
          }
          
!         parent::__construct($message);
      }
  }
--- 64,68 ----
          }
          
!         parent::__construct($message='');
      }
  }
***************
*** 76,80 ****
          }
          
!         parent::__construct($message);
      }
  }
--- 76,80 ----
          }
          
!         parent::__construct($message='');
      }
  }
***************
*** 88,92 ****
          }
          
!         parent::__construct($message);
      }
  }
--- 88,92 ----
          }
          
!         parent::__construct($message='');
      }
  }
***************
*** 100,104 ****
          }
          
!         parent::__construct($message);
      }
  }
--- 100,104 ----
          }
          
!         parent::__construct($message='');
      }
  }
***************
*** 112,116 ****
          }
          
!         parent::__construct($message);
      }
  }
--- 112,116 ----
          }
          
!         parent::__construct($message='');
      }
  }
***************
*** 118,122 ****
  class AEUnableToConnect extends AEBaseException {
      public $xmlRPCErrorOffset = 9;
!     public function __construct($message)
      {
          if (empty($message)) {
--- 118,122 ----
  class AEUnableToConnect extends AEBaseException {
      public $xmlRPCErrorOffset = 9;
!     public function __construct($message='')
      {
          if (empty($message)) {
***************
*** 124,128 ****
          }
          
!         parent::__construct($message);
      }
  }
--- 124,128 ----
          }
          
!         parent::__construct($message='');
      }
  }
***************
*** 130,134 ****
  class AEUserNotAuthorized extends AEBaseException {
      public $xmlRPCErrorOffset = 10;
!     public function __construct($message)
      {
          if (empty($message)) {
--- 130,134 ----
  class AEUserNotAuthorized extends AEBaseException {
      public $xmlRPCErrorOffset = 10;
!     public function __construct($message='')
      {
          if (empty($message)) {
***************
*** 136,140 ****
          }
          
!         parent::__construct($message);
      }
  }
--- 136,140 ----
          }
          
!         parent::__construct($message='');
      }
  }
***************
*** 142,146 ****
  class AEInvalidPrivilege extends AEBaseException {
      public $xmlRPCErrorOffset = 11;
!     public function __construct($message)
      {
          if (empty($message)) {
--- 142,146 ----
  class AEInvalidPrivilege extends AEBaseException {
      public $xmlRPCErrorOffset = 11;
!     public function __construct($message='')
      {
          if (empty($message)) {
***************
*** 148,152 ****
          }
          
!         parent::__construct($message);
      }
  }
--- 148,152 ----
          }
          
!         parent::__construct($message='');
      }
  }
***************
*** 154,158 ****
  class AEInsufficientClientOptions extends AEBaseException {
      public $xmlRPCErrorOffset = 12;
!     public function __construct($message)
      {
          if (empty($message)) {
--- 154,158 ----
  class AEInsufficientClientOptions extends AEBaseException {
      public $xmlRPCErrorOffset = 12;
!     public function __construct($message='')
      {
          if (empty($message)) {
***************
*** 160,164 ****
          }
          
!         parent::__construct($message);
      }
  }
--- 160,164 ----
          }
          
!         parent::__construct($message='');
      }
  }
***************
*** 166,170 ****
  class AELDAPBindError extends AEBaseException {
      public $xmlRPCErrorOffset = 13;
!     public function __construct($message)
      {
          if (empty($message)) {
--- 166,170 ----
  class AELDAPBindError extends AEBaseException {
      public $xmlRPCErrorOffset = 13;
!     public function __construct($message='')
      {
          if (empty($message)) {
***************
*** 172,176 ****
          }
          
!         parent::__construct($message);
      }
  }
--- 172,200 ----
          }
          
!         parent::__construct($message='');
!     }
! }
! 
! class AENoProvider extends AEBaseException {
!     public $xmlRPCErrorOffset = 14;
!     public function __construct($message='')
!     {
!         if (empty($message)) {
!             $message = 'Unable to find a provider for the given application';
!         }
!         
!         parent::__construct($message='');
!     }
! }
! 
! class AENoAppId extends AEBaseException {
!     public $xmlRPCErrorOffset = 15;
!     public function __construct($message='')
!     {
!         if (empty($message)) {
!             $message = 'No application ID was given in the request to the Auth_Enterprise service';
!         }
!         
!         parent::__construct($message='');
      }
  }




More information about the geeklog-cvs mailing list