Development

/branches/1.0/lib/exception/sfContextException.class.php

You must first sign up to be able to contribute.

root/branches/1.0/lib/exception/sfContextException.class.php

Revision 7791, 0.8 kB (checked in by fabien, 6 years ago)

updated Sean Kerr email address

  • Property svn:mime-type set to text/x-php
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Rev Date
Line 
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 <sean@code-box.org>
18  * @version    SVN: $Id$
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 }
34
Note: See TracBrowser for help on using the browser.