XRL  latest
Simple XML-RPC Library (both client and server)
InvalidXmlRpcException.php
1 <?php
2 /*
3  * This file is part of XRL, a simple XML-RPC Library for PHP.
4  *
5  * Copyright (c) 2015, XRL Team. All rights reserved.
6  * XRL is licensed under the 3-clause BSD License.
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
12 namespace fpoirotte\XRL\Faults;
13 
22 {
23  const DEFAULT_MSG = 'server error. invalid xml-rpc. not conforming to spec';
24 
25 
26  public function __construct($message = self::DEFAULT_MSG, \Exception $previous = null)
27  {
28  parent::__construct($message, -32600, $previous);
29  }
30 }
An exception that is used to represent XML-RPC errors.
Definition: Exception.php:21
An interoperable fault representing an error due to an invalid XML-RPC message.
Abstract definition of an interoperable fault.