TypeMismatch.php

浏览该文件的文档。
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_TypeMismatch extends FLEA_Exception
00028 {
00029     var $arg;
00030     var $expected;
00031     var $actual;
00032 
00042     function FLEA_Exception_TypeMismatch($arg, $expected, $actual)
00043     {
00044         $this->arg = $arg;
00045         $this->expected = $expected;
00046         $this->actual = $actual;
00047         $code = 0x010200c;
00048         $msg = sprintf(_ET($code), $arg, $expected, $actual);
00049         parent::FLEA_Exception($msg, $code);
00050     }
00051 }

Generated at Sat Feb 2 15:18:51 2008 for FleaPHP by  doxygen 1.5.3