[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/fs/src/exception/ -> lmbFileNotFoundException.class.php (source)

   1  <?php
   2  /*
   3   * Limb PHP Framework
   4   *
   5   * @link http://limb-project.com 
   6   * @copyright  Copyright &copy; 2004-2007 BIT(http://bit-creative.com)
   7   * @license    LGPL http://www.gnu.org/copyleft/lesser.html 
   8   */
   9  lmb_require(dirname(__FILE__) . '/lmbFsException.class.php');
  10  
  11  /**

  12   * class lmbFileNotFoundException.

  13   *

  14   * @package fs

  15   * @version $Id$

  16   */
  17  class lmbFileNotFoundException extends lmbFsException
  18  {
  19    function __construct($file_path, $message = 'file not found', $params = array())
  20    {
  21      $this->_file_path = $file_path;
  22  
  23      $params['file_path'] = $file_path;
  24  
  25      parent :: __construct($file_path . ': ' . $message, $params);
  26    }
  27  
  28    function getFilePath()
  29    {
  30      return $this->_file_path;
  31    }
  32  }
  33  
  34  ?>


Generated: Sat Nov 22 03:48:54 2008 Cross-referenced by PHPXref 0.7