commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-new / civicrm / Civi / API / Exception / NotImplementedException.php
1 <?php
2 namespace Civi\API\Exception;
3
4 require_once 'api/Exception.php';
5
6 /**
7 * Class NotImplementedException
8 * @package Civi\API\Exception
9 */
10 class NotImplementedException extends \API_Exception {
11 /**
12 * @param string $message
13 * The human friendly error message.
14 * @param array $extraParams
15 * Extra params to return. eg an extra array of ids. It is not mandatory,
16 * but can help the computer using the api. Keep in mind the api consumer
17 * isn't to be trusted. eg. the database password is NOT a good extra data.
18 * @param \Exception|NULL $previous
19 * A previous exception which caused this new exception.
20 */
21 public function __construct($message, $extraParams = array(), \Exception $previous = NULL) {
22 parent::__construct($message, \API_Exception::NOT_IMPLEMENTED, $extraParams, $previous);
23 }
24
25 }