Zend_XmlRpc_Server_FaultXMLRPC Server Faults
Encapsulates an exception for use as an XMLRPC fault response. Valid exception classes that may be used for generating the fault code and fault string can be attached using attachFaultException(); all others use a generic '404 Unknown error' response.
You may also attach fault observers, which would allow you to monitor particular fault cases; this is done via attachObserver(). Observers need only implement a static 'observe' method.
To allow method chaining, you may use the getInstance() factory to instantiate a Zend_XmlRpc_Server_Fault.
Located in /XmlRpc/Server/Fault.php (line 50)
Zend_XmlRpc_Fault | --Zend_XmlRpc_Server_Fault
static array
$_faultExceptionClasses
= array('Zend_XmlRpc_Server_Exception' => true) (line 60)
static array
$_observers
= array() (line 65)
Exception
$_exception
(line 55)
Inherited from Zend_XmlRpc_Fault
Zend_XmlRpc_Fault::$_code
Zend_XmlRpc_Fault::$_encoding
Zend_XmlRpc_Fault::$_internal
Zend_XmlRpc_Fault::$_message
static attachFaultException (line 115)
Attach valid exceptions that can be used to define xmlrpc faults
static attachObserver (line 159)
Attach an observer class
Allows observation of xmlrpc server faults, thus allowing logging or mail notification of fault responses on the xmlrpc server.
Expects a valid class name; that class must have a public static method 'observe' that accepts an exception as its sole argument.
static detachFaultException (line 134)
Detach fault exception classes
static detachObserver (line 181)
Detach an observer
static getInstance (line 104)
Return Zend_XmlRpc_Server_Fault instance
Constructor __construct (line 73)
Constructor
getException (line 197)
Retrieve the exception
Inherited From Zend_XmlRpc_Fault
Zend_XmlRpc_Fault::__construct()
Zend_XmlRpc_Fault::getCode()
Zend_XmlRpc_Fault::getEncoding()
Zend_XmlRpc_Fault::getMessage()
Zend_XmlRpc_Fault::isFault()
Zend_XmlRpc_Fault::loadXml()
Zend_XmlRpc_Fault::saveXml()
Zend_XmlRpc_Fault::setCode()
Zend_XmlRpc_Fault::setEncoding()
Zend_XmlRpc_Fault::setMessage()
Zend_XmlRpc_Fault::__toString()
Documentation generated on Mon, 21 Jun 2010 15:22:07 -0400 by phpDocumentor 1.4.3