ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
NotSupportedException.php
Go to the documentation of this file.
1 <?php
2 
3 namespace League\Flysystem;
4 
6 use SplFileInfo;
7 
9 {
17  public static function forLink(SplFileInfo $file)
18  {
19  $message = 'Links are not supported, encountered link at ';
20 
21  return new static($message . $file->getPathname());
22  }
23 
31  public static function forFtpSystemType($systemType)
32  {
33  $message = "The FTP system type '$systemType' is currently not supported.";
34 
35  return new static($message);
36  }
37 }
static forFtpSystemType($systemType)
Create a new exception for a link.
catch(Exception $e) $message
static forLink(SplFileInfo $file)
Create a new exception for a link.