|
|
@@ -13,6 +13,11 @@ public class WxErrorException extends Exception { |
|
|
|
this.error = error; |
|
|
|
} |
|
|
|
|
|
|
|
public WxErrorException(WxError error, Throwable cause) { |
|
|
|
super(error.toString(), cause); |
|
|
|
this.error = error; |
|
|
|
} |
|
|
|
|
|
|
|
public WxError getError() { |
|
|
|
return this.error; |
|
|
|
} |
|
|
|