gluon-web-remote

Web remote Administration for big size of gluon routers
git clone git://archive.git.mtrnord.blog/MTRNord/gluon-web-remote.git
Log | Files | Refs | README

IOException.php (949B)


      1 <?php
      2 
      3 /*
      4  * This file is part of the Symfony package.
      5  *
      6  * (c) Fabien Potencier <fabien@symfony.com>
      7  *
      8  * For the full copyright and license information, please view the LICENSE
      9  * file that was distributed with this source code.
     10  */
     11 
     12 namespace Symfony\Component\Filesystem\Exception;
     13 
     14 /**
     15  * Exception class thrown when a filesystem operation failure happens.
     16  *
     17  * @author Romain Neutron <imprec@gmail.com>
     18  * @author Christian Gärtner <christiangaertner.film@googlemail.com>
     19  * @author Fabien Potencier <fabien@symfony.com>
     20  *
     21  * @api
     22  */
     23 class IOException extends \RuntimeException implements IOExceptionInterface
     24 {
     25     private $path;
     26 
     27     public function __construct($message, $code = 0, \Exception $previous = null, $path = null)
     28     {
     29         $this->path = $path;
     30 
     31         parent::__construct($message, $code, $previous);
     32     }
     33 
     34     /**
     35      * {@inheritdoc}
     36      */
     37     public function getPath()
     38     {
     39         return $this->path;
     40     }
     41 }