<?php// +----------------------------------------------------------------------// | ThinkPHP [ WE CAN DO IT JUST THINK IT ]// +----------------------------------------------------------------------// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.// +----------------------------------------------------------------------// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )// +----------------------------------------------------------------------// | Author: yunwuxin <448901948@qq.com>// +----------------------------------------------------------------------namespacethink\exception;classClassNotFoundExceptionextends\RuntimeException{protected$class;publicfunction__construct($message,$class=''){$this->message=$message;$this->class=$class;}/** * 获取类名 * @access public * @return string */publicfunctiongetClass(){return$this->class;}}