CommuniqueRESTException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
c 2
b 0
f 1
dl 0
loc 3
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
/**
4
 * This file is part of Communique.
5
 * 
6
 * @author Robert Main
7
 * @package Communique
8
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Communique;
15
16
/**
17
 *
18
 * Exception
19
 *
20
 * This exception is a general purpose exception used to handle all nondescript errors with REST calls.
21
 * 
22
 */
23
class CommuniqueRESTException extends \Communique\CommuniqueException {
24
	/**
25
	 * Constructor for general purpose REST Exception
26
	 * @param String $message A human readable description of the exception
27
	 */
28
	public function __construct($message) {
29
		parent::__construct($message);
30
	}
31
}