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_Dispatcher_Exception_CheckFailed extends FLEA_Exception 00028 { 00029 var $controllerName; 00030 var $actionName; 00031 var $roles; 00032 var $act; 00033 00044 function FLEA_Dispatcher_Exception_CheckFailed($controllerName, $actionName, 00045 $act = null, $roles = null) 00046 { 00047 $this->controllerName = $controllerName; 00048 $this->actionName = $actionName; 00049 $this->act = $act; 00050 $this->roles = $roles; 00051 $code = 0x0701004; 00052 $msg = sprintf(_ET($code), $controllerName, $actionName); 00053 parent::FLEA_Exception($msg, $code); 00054 } 00055 }
1.5.3