mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
整理及重构
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package me.chanjar.weixin.common.exception;
|
||||
|
||||
import me.chanjar.weixin.common.bean.result.WxError;
|
||||
|
||||
public class WxErrorException extends Exception {
|
||||
|
||||
private static final long serialVersionUID = -6357149550353160810L;
|
||||
|
||||
private WxError error;
|
||||
|
||||
public WxErrorException(WxError error) {
|
||||
super(error.toString());
|
||||
this.error = error;
|
||||
}
|
||||
|
||||
public WxError getError() {
|
||||
return error;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user