mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-07-02 08:25:18 +08:00
初始版本
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package in.egan.pay.common.exception;
|
||||
|
||||
import in.egan.pay.common.bean.result.PayError;
|
||||
|
||||
/**
|
||||
* @author egan
|
||||
* @email egzosn@gmail.com
|
||||
* @date 2016-5-18 14:09:01
|
||||
*/
|
||||
public class PayErrorException extends Exception {
|
||||
|
||||
private PayError error;
|
||||
|
||||
public PayErrorException(PayError error) {
|
||||
super(error.toString());
|
||||
this.error = error;
|
||||
}
|
||||
|
||||
public PayError getError() {
|
||||
return error;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user