Highway to PSR2
[openemr.git] / portal / patient / fwk / libs / verysimple / Authentication / AuthenticationException.php
blob5c1d5ac0c5e0465497e24eb581c46541f4844300
1 <?php
2 /** @package verysimple::Authentication */
4 /**
5 * AuthenticationException is thrown as a result of "RequirePermission" failing
7 * @package verysimple::Authentication
8 * @author VerySimple Inc.
9 * @copyright 1997-2007 VerySimple, Inc.
10 * @license http://www.gnu.org/licenses/lgpl.html LGPL
11 * @version 1.0
13 class AuthenticationException extends Exception
15 // Redefine the exception so message isn't optional
16 public function __construct($message, $code = 0)
18 // make sure everything is assigned properly
19 parent::__construct($message, $code);