GitList
Repositories
Help
Report an Issue
vroom360
Code
Commits
Branches
Tags
Search
Tree:
e36c40f
Branches
Tags
master
vroom360
ezcMail
Base
src
exceptions
invalid_parent_class.php
initial commit
Dev Ghai
commited
e36c40f
at 2013-09-26 06:24:15
invalid_parent_class.php
Blame
History
Raw
<?php /** * File containing the ezcBaseInvalidParentClassException 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 */ /** * Exception that is thrown if an invalid class is passed as custom class. * * @package Base * @version 1.8 */ class ezcBaseInvalidParentClassException extends ezcBaseException { /** * Constructs an ezcBaseInvalidParentClassException for custom class $customClass * * @param string $expectedParentClass * @param string $customClass */ function __construct( $expectedParentClass, $customClass ) { parent::__construct( "Class '{$customClass}' does not exist, or does not inherit from the '{$expectedParentClass}' class." ); } } ?>