mirror of
https://github.com/atlanticbiomedical/portal-legacy.git
synced 2025-07-02 01:47:28 -04:00
initial commit
This commit is contained in:
33
lib/symfony/exception/sfContextException.class.php
Executable file
33
lib/symfony/exception/sfContextException.class.php
Executable file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the symfony package.
|
||||
* (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
* sfContextException is thrown when an instance of the context has not been created.
|
||||
*
|
||||
* @package symfony
|
||||
* @subpackage exception
|
||||
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
|
||||
* @author Sean Kerr <skerr@mojavi.org>
|
||||
* @version SVN: $Id: sfContextException.class.php 3243 2007-01-12 14:22:50Z fabien $
|
||||
*/
|
||||
class sfContextException extends sfException
|
||||
{
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
* @param string The error message
|
||||
* @param int The error code
|
||||
*/
|
||||
public function __construct($message = null, $code = 0)
|
||||
{
|
||||
parent::__construct($message, $code);
|
||||
$this->setName('sfContextException');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user