mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-22 18:11:39 +08:00
包名修改
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package com.egzosn.pay.common.exception;
|
||||
|
||||
import com.egzosn.pay.common.bean.result.PayError;
|
||||
|
||||
/**
|
||||
* @author egan
|
||||
* @email egzosn@gmail.com
|
||||
* @date 2016-5-18 14:09:01
|
||||
*/
|
||||
public class PayErrorException extends RuntimeException {
|
||||
|
||||
private PayError error;
|
||||
|
||||
public PayErrorException(PayError error) {
|
||||
super(error.getString());
|
||||
this.error = error;
|
||||
}
|
||||
|
||||
|
||||
public PayError getPayError() {
|
||||
return error;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user