Merge pull request #3745 from colemanw/relMemberApi
[civicrm-core.git] / Civi / API / Exception / UnauthorizedException.php
1 <?php
2 namespace Civi\API\Exception;
3
4 require_once 'api/Exception.php';
5
6 /**
7 * Class UnauthorizedException
8 * @package Civi\API\Exception
9 */
10 class UnauthorizedException extends \API_Exception {
11 /**
12 * @param string $message
13 * @param array $extraParams
14 * @param Exception $previous
15 */
16 public function __construct($message, $extraParams = array(), Exception $previous = NULL) {
17 parent::__construct($message, \API_Exception::UNAUTHORIZED, $extraParams, $previous);
18 }
19 }