00001 <?php 00003 // FleaPHP Framework 00004 // 00005 // Copyright (c) 2005 - 2008 QeeYuan China Inc. (http://www.qeeyuan.com) 00006 // 00007 // 许可协议,请查看源代码中附带的 LICENSE.txt 文件, 00008 // 或者访问 http://www.fleaphp.org/ 获得详细信息。 00010 00027 class FLEA_Exception_FileOperation extends FLEA_Exception 00028 { 00034 var $operation; 00035 00041 var $args; 00042 00050 function FLEA_Exception_FileOperation($opeation) 00051 { 00052 $this->operation = $opeation; 00053 $args = func_get_args(); 00054 array_shift($args); 00055 $this->args = $args; 00056 $func = $opeation . '(' . implode(', ', $args) . ')'; 00057 parent::FLEA_Exception(sprintf(_ET(0x0102005), $func)); 00058 } 00059 }
1.5.3