[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/exception/ -> sfContextException.class.php (source)

   1  <?php
   2  
   3  /*
   4   * This file is part of the symfony package.
   5   * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
   6   * 
   7   * For the full copyright and license information, please view the LICENSE
   8   * file that was distributed with this source code.
   9   */
  10  
  11  /**
  12   * sfContextException is thrown when an instance of the context has not been created.
  13   *
  14   * @package    symfony
  15   * @subpackage exception
  16   * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
  17   * @author     Sean Kerr <skerr@mojavi.org>
  18   * @version    SVN: $Id: sfContextException.class.php 3243 2007-01-12 14:22:50Z fabien $
  19   */
  20  class sfContextException extends sfException
  21  {
  22    /**
  23     * Class constructor.
  24     *
  25     * @param string The error message
  26     * @param int    The error code
  27     */
  28    public function __construct($message = null, $code = 0)
  29    {
  30      parent::__construct($message, $code);
  31      $this->setName('sfContextException');
  32    }
  33  }


Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7