Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\DependencyInjection\Exception; Chris@0: Chris@0: /** Chris@0: * This exception is thrown when an environment variable is not found. Chris@0: * Chris@0: * @author Nicolas Grekas
Chris@0: */ Chris@0: class EnvNotFoundException extends InvalidArgumentException Chris@0: { Chris@0: public function __construct($name) Chris@0: { Chris@0: parent::__construct(sprintf('Environment variable not found: "%s".', $name)); Chris@0: } Chris@0: }