/**
  * Constructor - pass it {@see exec()} $output
  *
  * @param array $output
  */
 public function __construct($command, $output, Patch $patch, $dryRun = FALSE)
 {
     $output = 'Patch ' . $patch->getChecksum() . ' ' . ($dryRun ? 'would fail' : 'failed') . "!\n" . 'Error executing command "' . $command . '":' . "\n" . (is_array($output) ? implode("\n", $output) : $output);
     parent::__construct($output);
 }