Funciona: - Usuario - Empresa git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_PROFIND_Web/trunk@2 3fe1ab16-cfe0-e34b-8c9f-7d8c168d430d
36 lines
819 B
PHP
36 lines
819 B
PHP
<?php
|
|
/**
|
|
* CExceptionEvent class file.
|
|
*
|
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
|
* @link http://www.yiiframework.com/
|
|
* @copyright Copyright © 2008-2011 Yii Software LLC
|
|
* @license http://www.yiiframework.com/license/
|
|
*/
|
|
|
|
/**
|
|
* CExceptionEvent represents the parameter for the {@link CApplication::onException onException} event.
|
|
*
|
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
|
* @version $Id$
|
|
* @package system.base
|
|
* @since 1.0
|
|
*/
|
|
class CExceptionEvent extends CEvent
|
|
{
|
|
/**
|
|
* @var CException the exception that this event is about.
|
|
*/
|
|
public $exception;
|
|
|
|
/**
|
|
* Constructor.
|
|
* @param mixed $sender sender of the event
|
|
* @param CException $exception the exception
|
|
*/
|
|
public function __construct($sender,$exception)
|
|
{
|
|
$this->exception=$exception;
|
|
parent::__construct($sender);
|
|
}
|
|
} |