2 /** @package verysimple::Authentication */
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
13 class AuthenticationException
extends Exception
{
14 // Redefine the exception so message isn't optional
15 public function __construct($message, $code = 0) {
16 // make sure everything is assigned properly
17 parent
::__construct ( $message, $code );