ILIAS
eassessment Revision 61809
|
Public Member Functions | |
__construct ($messageString, $faultCode) | |
Construct a new XML_RPC2_FaultException with a given message string and fault code. | |
getFaultCode () | |
FaultCode getter. | |
getFaultString () | |
FaultString getter. |
Static Public Member Functions | |
static | createFromDecode ($xml) |
Create a XML_RPC2_FaultException by decoding the corresponding xml string. |
Protected Attributes | |
$faultCode = null |
Definition at line 195 of file Exception.php.
XML_RPC2_FaultException::__construct | ( | $messageString, | |
$faultCode | |||
) |
Construct a new XML_RPC2_FaultException with a given message string and fault code.
string | The message string, corresponding to the faultString present in the response body |
string | The fault code, corresponding to the faultCode in the response body |
Definition at line 215 of file Exception.php.
References $faultCode.
|
static |
Create a XML_RPC2_FaultException by decoding the corresponding xml string.
string | $xml |
Definition at line 258 of file Exception.php.
Referenced by XML_RPC2_Backend_Php_Response\decode().
XML_RPC2_FaultException::getFaultCode | ( | ) |
FaultCode getter.
Definition at line 229 of file Exception.php.
References $faultCode.
Referenced by XML_RPC2_Backend_Php_Server\getResponse(), and XML_RPC2_Backend_Xmlrpcext_Server\getResponse().
XML_RPC2_FaultException::getFaultString | ( | ) |
FaultString getter.
This is an alias to getMessage() in order to respect XML-RPC nomenclature for faults
Definition at line 244 of file Exception.php.
|
protected |
Definition at line 205 of file Exception.php.
Referenced by __construct(), and getFaultCode().