Files
Arbitrate-Backend/pay/src/main/java/com/ruoyi/exceptions/TradeException.java
T
2023-09-09 16:50:34 +08:00

25 lines
436 B
Java

package com.ruoyi.exceptions;
import lombok.Getter;
import lombok.Setter;
/**
* 交易SDK提供的总的异常
*/
@Getter
@Setter
public class TradeException extends RuntimeException{
private String code;
private String msg;
public TradeException(String code, String msg) {
super(msg);
this.code = code;
this.msg = msg;
}
public TradeException(String msg) {
super(msg);
}
}