#251 微信支付证书文件路径配置支持classpath开头的地址

This commit is contained in:
Binary Wang
2017-06-18 14:48:32 +08:00
parent ec4bf2687c
commit c7ffff0a9c
5 changed files with 54 additions and 7 deletions

View File

@@ -45,6 +45,11 @@ public class WxPayException extends Exception {
this.customErrorMsg = customErrorMsg;
}
public WxPayException(String customErrorMsg, Throwable tr) {
super(customErrorMsg, tr);
this.customErrorMsg = customErrorMsg;
}
private WxPayException(Builder builder) {
super(builder.buildErrorMsg());
returnCode = builder.returnCode;