GitList
Repositories
Help
Report an Issue
vroom360
Code
Commits
Branches
Tags
Search
Tree:
e36c40f
Branches
Tags
master
vroom360
ezcMail
Base
src
exceptions
extension_not_found.php
initial commit
Dev Ghai
commited
e36c40f
at 2013-09-26 06:24:15
extension_not_found.php
Blame
History
Raw
<?php /** * File containing the ezcBaseExtensionNotFoundException class * * @package Base * @version 1.8 * @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved. * @license http://ez.no/licenses/new_bsd New BSD License */ /** * ezcBaseExtensionNotFoundException is thrown when a requested PHP extension was not found. * * @package Base * @version 1.8 */ class ezcBaseExtensionNotFoundException extends ezcBaseException { /** * Constructs a new ezcBaseExtensionNotFoundException. * * @param string $name The name of the extension * @param string $version The version of the extension * @param string $message Additional text */ function __construct( $name, $version = null, $message = null ) { if ( $version === null ) { parent::__construct( "The extension '{$name}' could not be found. {$message}" ); } else { parent::__construct( "The extension '{$name}' with version '{$version}' could not be found. {$message}" ); } } } ?>