/** * @param ehough_finder_adapter_AdapterInterface $adapter * @param ehough_finder_shell_Command $command * @param Exception|null $previous */ public function __construct(ehough_finder_adapter_AdapterInterface $adapter, ehough_finder_shell_Command $command, Exception $previous = null) { $this->command = $command; parent::__construct($adapter, 'Shell command failed: "' . $command->join() . '".', $previous); }