XRL  latest
Simple XML-RPC Library (both client and server)
InvalidParameterException.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  public function __construct($message = 'server error. invalid method parameters', \Exception $previous = null)
24  {
25  parent::__construct($message, -32602, $previous);
26  }
27 }
An exception that is used to represent XML-RPC errors.
Definition: Exception.php:21
An interoperable fault representing an error due to an invalid parameter.
Abstract definition of an interoperable fault.