From e3ad35853620122e331c98e89b578b45eea64d5a Mon Sep 17 00:00:00 2001 From: "1437892690@qq.com" <1437892690@qq.com> Date: Thu, 17 Apr 2025 14:22:09 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=8A=9F=E8=83=BD]=20=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E9=85=8D=E7=BD=AE-=E7=8E=AF=E5=A2=83=E5=B1=82=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=E9=80=82=E9=85=8D=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AE=A1=E8=AE=A1=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1400864579747840]应用配置-环境层配置文件适配变量增加审计功能 http://192.168.0.96:8090/demo/rdm.html#/story-detail/939050947543040/939050947543042/1400864579747840 --- ...figEnvAutoConfigKeyIrregularException.java | 26 ++++++++++++++++++ ...ConfigEnvAutoConfigKeyRepeatException.java | 27 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 src/main/java/neatlogic/framework/deploy/exception/DeployAppConfigEnvAutoConfigKeyIrregularException.java create mode 100644 src/main/java/neatlogic/framework/deploy/exception/DeployAppConfigEnvAutoConfigKeyRepeatException.java diff --git a/src/main/java/neatlogic/framework/deploy/exception/DeployAppConfigEnvAutoConfigKeyIrregularException.java b/src/main/java/neatlogic/framework/deploy/exception/DeployAppConfigEnvAutoConfigKeyIrregularException.java new file mode 100644 index 0000000..38395d5 --- /dev/null +++ b/src/main/java/neatlogic/framework/deploy/exception/DeployAppConfigEnvAutoConfigKeyIrregularException.java @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2025 深圳极向量科技有限公司 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.deploy.exception; + +import neatlogic.framework.exception.core.ApiRuntimeException; + +public class DeployAppConfigEnvAutoConfigKeyIrregularException extends ApiRuntimeException { + public DeployAppConfigEnvAutoConfigKeyIrregularException(String key) { + super("变量名称:{0}不合法", key); + } +} diff --git a/src/main/java/neatlogic/framework/deploy/exception/DeployAppConfigEnvAutoConfigKeyRepeatException.java b/src/main/java/neatlogic/framework/deploy/exception/DeployAppConfigEnvAutoConfigKeyRepeatException.java new file mode 100644 index 0000000..4874d52 --- /dev/null +++ b/src/main/java/neatlogic/framework/deploy/exception/DeployAppConfigEnvAutoConfigKeyRepeatException.java @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2025 深圳极向量科技有限公司 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.deploy.exception; + +import neatlogic.framework.exception.core.ApiRuntimeException; + +public class DeployAppConfigEnvAutoConfigKeyRepeatException extends ApiRuntimeException { + + public DeployAppConfigEnvAutoConfigKeyRepeatException(String key) { + super("变量名称:{0}重复", key); + } +} -- Gitee