新增字典

This commit is contained in:
jiangdingxuan
2024-01-08 14:37:08 +08:00
parent 2ae7c39b9f
commit 90d9af2eb2
6 changed files with 130 additions and 4 deletions

View File

@@ -0,0 +1,18 @@
package net.rzdata.exception;
/**
* 数据重复异常
*/
public class RepeatDataException extends ClientException {
public static final String ERROR_CODE = "A0428";
public static final String ERROR_MESSAGE = "数据已存在";
public RepeatDataException() {
super(ERROR_CODE, ERROR_MESSAGE);
}
public RepeatDataException(String message) {
super(ERROR_CODE, message);
}
}