[geeklog-cvs] Auth_Enterprise/Common AEExceptions.php,1.3,1.4
tony at iowaoutdoors.org
tony at iowaoutdoors.org
Mon Jun 21 01:05:39 EDT 2004
Update of /var/cvs/Auth_Enterprise/Common
In directory www:/tmp/cvs-serv5160
Modified Files:
AEExceptions.php
Log Message:
Refactored the exceptions a bit to handle XMLRPC stuff more elegantly
Index: AEExceptions.php
===================================================================
RCS file: /var/cvs/Auth_Enterprise/Common/AEExceptions.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** AEExceptions.php 18 Jun 2004 21:37:23 -0000 1.3
--- AEExceptions.php 21 Jun 2004 05:05:37 -0000 1.4
***************
*** 16,20 ****
*/
! class AEUnknownException extends Exception {
public function __construct($message = '')
{
--- 16,30 ----
*/
! class AEBaseException extends Exception {
! public $xmlRPCErrorOffset;
! public function getXMLErrorOffset()
! {
! return $this->xmlRPCErrorOffset;
! }
! }
!
! class AEUnknownException extends AEBaseException {
! public $xmlRPCErrorOffset = 2;
!
public function __construct($message = '')
{
***************
*** 27,31 ****
}
! class AESQLException extends Exception {
public function __construct($message = '')
{
--- 37,42 ----
}
! class AESQLException extends AEBaseException {
! public $xmlRPCErrorOffset = 3;
public function __construct($message = '')
{
***************
*** 45,49 ****
*
*/
! class AEInvalidUserCredentials extends Exception {
public function __construct($message = '')
{
--- 56,61 ----
*
*/
! class AEInvalidUserCredentials extends AEBaseException {
! public $xmlRPCErrorOffset = 4;
public function __construct($message = '')
{
***************
*** 56,60 ****
}
! class AEAccountLocked extends Exception {
public function __construct($message = '')
{
--- 68,73 ----
}
! class AEAccountLocked extends AEBaseException {
! public $xmlRPCErrorOffset = 5;
public function __construct($message = '')
{
***************
*** 67,71 ****
}
! class AEPasswordExpired extends Exception {
public function __construct($message = '')
{
--- 80,85 ----
}
! class AEPasswordExpired extends AEBaseException {
! public $xmlRPCErrorOffset = 6;
public function __construct($message = '')
{
***************
*** 78,82 ****
}
! class AEPasswordInHistory extends Exception {
public function __construct($message = '')
{
--- 92,97 ----
}
! class AEPasswordInHistory extends AEBaseException {
! public $xmlRPCErrorOffset = 7;
public function __construct($message = '')
{
***************
*** 89,93 ****
}
! class AEPasswordInvalid extends Exception {
public function __construct($message = '')
{
--- 104,109 ----
}
! class AEPasswordInvalid extends AEBaseException {
! public $xmlRPCErrorOffset = 8;
public function __construct($message = '')
{
***************
*** 100,104 ****
}
! class AEUnableToConnect extends Exception {
public function __construct($message)
{
--- 116,121 ----
}
! class AEUnableToConnect extends AEBaseException {
! public $xmlRPCErrorOffset = 9;
public function __construct($message)
{
***************
*** 111,115 ****
}
! class AEUserNotAuthorized extends Exception {
public function __construct($message)
{
--- 128,133 ----
}
! class AEUserNotAuthorized extends AEBaseException {
! public $xmlRPCErrorOffset = 10;
public function __construct($message)
{
***************
*** 122,126 ****
}
! class AEInvalidPrivilege extends Exception {
public function __construct($message)
{
--- 140,145 ----
}
! class AEInvalidPrivilege extends AEBaseException {
! public $xmlRPCErrorOffset = 11;
public function __construct($message)
{
***************
*** 133,137 ****
}
! class AEInsufficientClientOptions extends Exception {
public function __construct($message)
{
--- 152,157 ----
}
! class AEInsufficientClientOptions extends AEBaseException {
! public $xmlRPCErrorOffset = 12;
public function __construct($message)
{
More information about the geeklog-cvs
mailing list