/** * Knows the path which has no registered Autoloader * * @param String $path The class path which has no Autoloader */ public function __construct($path) { parent::__construct("There is no Autoloader for the class path '{$path}'."); $this->_path = $path; }
/** * Knows the class which couldn't be found * * @param String $class The class which couldn't be found */ public function __construct($class) { parent::__construct("The class '{$class}' could not be found."); $this->_class = $class; }
/** * Knows the ambiguous class and its definitions * * @param String $class The ambiguous class name * @param Array $paths The paths for the found class definitions */ public function __construct($class, array $paths) { parent::__construct("class {$class} was defined in several files:" . implode(', ', $paths)); $this->_class = $class; $this->_paths = $paths; }