path = $path; parent::__construct('File already exists at path: ' . $this->getPath(), $code, $previous); } /** * Get the path which was found. * * @return string */ public function getPath() { return $this->path; } }