ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
League\Flysystem\FileNotFoundException Class Reference
+ Inheritance diagram for League\Flysystem\FileNotFoundException:
+ Collaboration diagram for League\Flysystem\FileNotFoundException:

Public Member Functions

 __construct ($path, $code=0, BaseException $previous=null)
 Constructor. More...
 
 getPath ()
 Get the path which was not found. More...
 

Protected Attributes

 $path
 

Detailed Description

Definition at line 7 of file FileNotFoundException.php.

Constructor & Destructor Documentation

◆ __construct()

League\Flysystem\FileNotFoundException::__construct (   $path,
  $code = 0,
BaseException  $previous = null 
)

Constructor.

Parameters
string$path
int$code
\Exception$previous

Definition at line 21 of file FileNotFoundException.php.

References $code, League\Flysystem\FileNotFoundException\$path, and League\Flysystem\FileNotFoundException\getPath().

22  {
23  $this->path = $path;
24 
25  parent::__construct('File not found at path: ' . $this->getPath(), $code, $previous);
26  }
getPath()
Get the path which was not found.
$code
Definition: example_050.php:99
+ Here is the call graph for this function:

Member Function Documentation

◆ getPath()

League\Flysystem\FileNotFoundException::getPath ( )

Get the path which was not found.

Returns
string

Definition at line 33 of file FileNotFoundException.php.

References League\Flysystem\FileNotFoundException\$path.

Referenced by League\Flysystem\FileNotFoundException\__construct().

+ Here is the caller graph for this function:

Field Documentation

◆ $path

League\Flysystem\FileNotFoundException::$path
protected

The documentation for this class was generated from the following file: