Moodle  2.2.1
http://www.collinsharper.com
Zend_XmlRpc_Server_Fault Class Reference
Inheritance diagram for Zend_XmlRpc_Server_Fault:
Collaboration diagram for Zend_XmlRpc_Server_Fault:

Public Member Functions

 __construct (Exception $e)
 getException ()

Static Public Member Functions

static getInstance (Exception $e)
static attachFaultException ($classes)
static detachFaultException ($classes)
static attachObserver ($class)
static detachObserver ($class)

Protected Attributes

 $_exception

Static Protected Attributes

static $_faultExceptionClasses = array('Zend_XmlRpc_Server_Exception' => true)
static $_observers = array()

Detailed Description

Definition at line 50 of file Fault.php.


Constructor & Destructor Documentation

__construct ( Exception $  e)

Constructor

Parameters:
Exception$e
Returns:
Zend_XmlRpc_Server_Fault

Definition at line 73 of file Fault.php.


Member Function Documentation

static attachFaultException ( classes) [static]

Attach valid exceptions that can be used to define xmlrpc faults

Parameters:
string | array$classesClass name or array of class names
Returns:
void

Definition at line 115 of file Fault.php.

Here is the caller graph for this function:

static attachObserver ( class) [static]

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.

Parameters:
string$class
Returns:
boolean

Definition at line 159 of file Fault.php.

static detachFaultException ( classes) [static]

Detach fault exception classes

Parameters:
string | array$classesClass name or array of class names
Returns:
void

Definition at line 134 of file Fault.php.

static detachObserver ( class) [static]

Detach an observer

Parameters:
string$class
Returns:
boolean

Definition at line 181 of file Fault.php.

Retrieve the exception

public

Returns:
Exception

Definition at line 197 of file Fault.php.

static getInstance ( Exception $  e) [static]

Return Zend_XmlRpc_Server_Fault instance

Parameters:
Exception$e
Returns:
Zend_XmlRpc_Server_Fault

Definition at line 104 of file Fault.php.

Here is the caller graph for this function:


Field Documentation

$_exception [protected]

Definition at line 55 of file Fault.php.

$_faultExceptionClasses = array('Zend_XmlRpc_Server_Exception' => true) [static, protected]

Definition at line 60 of file Fault.php.

$_observers = array() [static, protected]

Definition at line 65 of file Fault.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations