205 protected $faultCode = null;
217 parent::__construct($messageString);
218 $this->faultCode = $faultCode;
231 return $this->faultCode;
246 return $this->getMessage();
259 require_once
'XML/RPC2/Backend/Php/Value.php';
262 $xml = simplexml_load_string($xml->asXML());
264 if (!(is_array($struct) &&
265 array_key_exists(
'faultString', $struct) &&
266 array_key_exists(
'faultCode', $struct)))
throw new XML_RPC2_DecodeException(
'Unable to decode XML-RPC fault payload');
getFaultString()
FaultString getter.
__construct($messageString, $faultCode)
Construct a new XML_RPC2_FaultException with a given message string and fault code.
static createFromDecode($xml)
Create a XML_RPC2_FaultException by decoding the corresponding xml string.
getFaultCode()
FaultCode getter.
static createFromDecode($simpleXML)
Decode an encoded value and build the applicable XML_RPC2_Value subclass.