异常打印6

This commit is contained in:
2025-11-12 11:37:08 +08:00
parent 4e90ca4362
commit 0298c53320

View File

@@ -16,7 +16,13 @@ public class OrderValidateException extends RuntimeException{
private String msg;
public OrderValidateException(String msg) {
// super(msg);
super(msg);
this.code = CzgRespCode.FAILURE.getCode();
this.msg = msg;
}
public OrderValidateException(String msg, Throwable e) {
super(msg, e);
this.code = CzgRespCode.FAILURE.getCode();
this.msg = msg;
}