<?php
/**
* TPageUnauthorizedException class file.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the BSD License.
*
* Copyright(c) 2004 by Qiang Xue. All rights reserved.
*
* To contact the author write to {@link mailto:hide@address.com Qiang Xue}
* The latest version of PRADO can be obtained from:
* {@link http://prado.sourceforge.net/}
*
* @author Qiang Xue <hide@address.com>
* @version $Revision: 1.2 $ $Date: 2005/01/04 21:33:45 $
* @package System.Exception
*/
/**
* TPageUnauthorizedException class
*
* TPageUnauthorizedException is raised when an unauthorized page is requested.
*
* Namespace: Exception
*
* @author Qiang Xue <hide@address.com>
* @version $Revision: 1.2 $ $Date: 2005/01/04 21:33:45 $
* @package System.Exception
*/
class TPageUnauthorizedException extends TException
{
/**
* Constructor.
* @param string the page type
*/
function __construct($pageType)
{
parent::__construct("You are not authorized to access the page '$pageType'.");
}
}
?>