Location: PHPKode > projects > SVNManager > svnmanager-1.08/prado-2.0.3/framework/Exception/TEventNameInvalidException.php
<?php
/**
 * TEventNameInvalidException 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
 */
 
/**
 * TEventNameInvalidException class
 *
 * TEventNameInvalidException is raised when the framework
 * detects that an event is defined with an invalid name.
 *
 * Namespace: Exception
 *
 * @author Qiang Xue <hide@address.com>
 * @version $Revision: 1.2 $  $Date: 2005/01/04 21:33:45 $
 * @package System.Exception
 */
class TEventNameInvalidException extends TException
{
	/**
	 * Constructor.
	 * @param string the component type
	 * @param string the event name
	 */
	function __construct($comType,$eventName)
	{
		parent::__construct("Event name '$comType.$eventName' is invalid. Only alphanumeric characters are allowed.");
	}
}
?>
Return current item: SVNManager