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_MissingArguments extends FLEA_Exception 00028 { 00034 var $args; 00035 00043 function FLEA_Exception_MissingArguments($args) 00044 { 00045 $this->args = $args; 00046 if (is_array($args)) { 00047 $args = implode(', ', $args); 00048 } 00049 $code = 0x0102007; 00050 $msg = sprintf(_ET($code), $args); 00051 parent::FLEA_Exception($msg, $code); 00052 } 00053 }
1.5.3