From d2d43169191b43274aa894ca523e6c25b78174f5 Mon Sep 17 00:00:00 2001 From: linbangquan <1437892690@qq.com> Date: Mon, 4 Dec 2023 09:23:47 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8A=9F=E8=83=BD]=20=E5=90=8E=E7=AB=AF-cmdb?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E5=A2=9E=E5=8A=A0=E5=B1=9E=E6=80=A7=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E5=80=BC=E6=A0=A1=E9=AA=8C=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1038886606700544]后端-cmdb节点增加属性类型值校验逻辑 http://192.168.0.96:8090/demo/rdm.html#/task-detail/939050947543040/939050947543050/1038886606700544 --- .../globalattr/GlobalAttrValueIrregularException.java | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/main/java/neatlogic/framework/cmdb/exception/globalattr/GlobalAttrValueIrregularException.java diff --git a/src/main/java/neatlogic/framework/cmdb/exception/globalattr/GlobalAttrValueIrregularException.java b/src/main/java/neatlogic/framework/cmdb/exception/globalattr/GlobalAttrValueIrregularException.java new file mode 100644 index 0000000..b7d3d33 --- /dev/null +++ b/src/main/java/neatlogic/framework/cmdb/exception/globalattr/GlobalAttrValueIrregularException.java @@ -0,0 +1,11 @@ +package neatlogic.framework.cmdb.exception.globalattr; + +import neatlogic.framework.cmdb.dto.globalattr.GlobalAttrVo; +import neatlogic.framework.exception.core.ApiRuntimeException; + +public class GlobalAttrValueIrregularException extends ApiRuntimeException { + + public GlobalAttrValueIrregularException(GlobalAttrVo globalAttrVo, String value) { + super("nfceg.globalattrvalueirregularexception.globalattrvalueirregularexception", globalAttrVo.getLabel(), globalAttrVo.getName(), value); + } +} -- Gitee