Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WxPayServiceApacheHttpImpl.convertException这类异常应该给用户选择处理的方式 #89

Open
Mrshengjie opened this issue Nov 17, 2021 · 1 comment

Comments

@Mrshengjie
Copy link

问题(提问前,请确保阅读过项目首页说明以及SDK wiki文档相关内容)

简要描述

WxPayServiceApacheHttpImpl.convertException,这里的异常抛出后没有相对应的异常类型,不是很方便处理,如果是要对微信订单不存在做处理,目前的方式就比较尴尬了。

版本情况

  • WxJava 版本号:v4.2.0

期待结果

把异常定义具体类型比如:NotExistOrderException,或直接返回对应的状态码;

实际情况

重现步骤

日志

日志内容如果过多,请将日志放在 pastebin 或者其他地方,并将url地址贴在这里

@binarywang
Copy link
Owner

异常类型是指什么,欢迎直接提供优化代码PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants