From 664a1bce62ef33fb53ac20017323ed40d57b9327 Mon Sep 17 00:00:00 2001 From: "1437892690@qq.com" <1437892690@qq.com> Date: Mon, 19 May 2025 18:31:37 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8A=9F=E8=83=BD]=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E5=90=8C=E6=AD=A5balantflow=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E8=A7=86=E5=9B=BE=E6=95=B0=E6=8D=AE=E5=88=B0?= =?UTF-8?q?mongodb=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1421065807429632]增加一个同步balantflow自定义视图数据到mongodb接口 http://192.168.0.96:8090/demo/rdm.html#/story-detail/939050947543040/939050947543042/1421065807429632 --- ...llectionNameFieldValueRepeatException.java | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/main/java/neatlogic/framework/cmdb/exception/sync/CollectionNameFieldValueRepeatException.java diff --git a/src/main/java/neatlogic/framework/cmdb/exception/sync/CollectionNameFieldValueRepeatException.java b/src/main/java/neatlogic/framework/cmdb/exception/sync/CollectionNameFieldValueRepeatException.java new file mode 100644 index 0000000..5f0f022 --- /dev/null +++ b/src/main/java/neatlogic/framework/cmdb/exception/sync/CollectionNameFieldValueRepeatException.java @@ -0,0 +1,24 @@ +/*Copyright (C) 2024 深圳极向量科技有限公司 All Rights Reserved. + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see .*/ + +package neatlogic.framework.cmdb.exception.sync; + +import neatlogic.framework.exception.core.ApiRuntimeException; + +public class CollectionNameFieldValueRepeatException extends ApiRuntimeException { + public CollectionNameFieldValueRepeatException(String collection, String fieldValue) { + super("MongoDB集合“{0}”中name字段值“{1}”已存在", collection, fieldValue); + } +} -- Gitee