<?php
/**
* TEventRedefinedException 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
*/
/**
* TEventRedefinedException class
*
* TEventRedefinedException is raised when the framework
* detects that an event is redefined.
*
* Namespace: Exception
*
* @author Qiang Xue <hide@address.com>
* @version $Revision: 1.2 $ $Date: 2005/01/04 21:33:45 $
* @package System.Exception
*/
class TEventRedefinedException extends TException
{
/**
* Constructor.
* @param string the component type
* @param string the event name
*/
function __construct($comType,$eventName)
{
parent::__construct("Event '$comType.$eventName' cannot be redefined.");
}
}
?>