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 /Zend/XmlRpc/Server/Fault.php (line 48)
Zend_XmlRpc_Fault | --Zend_XmlRpc_Server_Fault
static array
$_faultExceptionClasses
= array('Zend_XmlRpc_Server_Exception' => true) (line 58)
static array
$_observers
= array() (line 63)
Exception
$_exception
(line 53)
Inherited from Zend_XmlRpc_Fault
Zend_XmlRpc_Fault::$_code
Zend_XmlRpc_Fault::$_encoding
Zend_XmlRpc_Fault::$_internal
Zend_XmlRpc_Fault::$_message
static attachFaultException (line 110)
Attach valid exceptions that can be used to define xmlrpc faults
static attachObserver (line 154)
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 129)
Detach fault exception classes
static detachObserver (line 176)
Detach an observer
static getInstance (line 99)
Return Zend_XmlRpc_Server_Fault instance
Constructor __construct (line 71)
Constructor
getException (line 192)
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 Wed, 21 Feb 2007 11:47:35 -0800 by phpDocumentor 1.3.1