[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * Exception thrown if any access without sufficient permissions occured. 4 * 5 * Copyright 2010-2014 Horde LLC (http://www.horde.org/) 6 * 7 * See the enclosed file COPYING for license information (LGPL). If you 8 * did not receive this file, see http://www.horde.org/licenses/lgpl21. 9 * 10 * @category Horde 11 * @package Exception 12 */ 13 class Horde_Exception_PermissionDenied extends Horde_Exception 14 { 15 /** 16 * Constructor. 17 * 18 * @see Horde_Exception::__construct() 19 * 20 * @param mixed $message The exception message, a PEAR_Error 21 * object, or an Exception object. 22 * @param integer $code A numeric error code. 23 */ 24 public function __construct($message = null, $code = null) 25 { 26 if (is_null($message)) { 27 $message = Horde_Exception_Translation::t("Permission Denied"); 28 } 29 parent::__construct($message, $code); 30 } 31 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |