Page MenuHomePhorge

final class FilesystemException
libphutil Technical Documentation (Filesystem)

Exception thrown by Filesystem to indicate an error accessing the file system.

Methods

public function __construct($path, $message)

Create a new FilesystemException, providing a path and a message.

Parameters
string$pathPath that caused the failure.
string$messageDescription of the failure.
Return
this//Implicit.//

public function getPath()

Retrieve the path associated with the exception. Generally, this is something like a path that couldn't be read or written, or a path that was expected to exist but didn't.

Return
stringPath associated with the exception.