diff --git a/library/think/exception/NotFoundException.php b/library/think/exception/NotFoundException.php new file mode 100644 index 00000000..06ae2e5d --- /dev/null +++ b/library/think/exception/NotFoundException.php @@ -0,0 +1,27 @@ + +// +---------------------------------------------------------------------- + +namespace think\exception; + +use think\Exception; + +/** + * Database相关异常处理类 + */ +class NotFoundException extends Exception +{ + /** + * 系统异常后发送给客户端的HTTP Status + * @var integer + */ + protected $httpStatus = 404; + +}