diff --git a/src/main/java/neatlogic/framework/process/exception/processtask/ProcessTaskNextStepIllegalException.java b/src/main/java/neatlogic/framework/process/exception/processtask/ProcessTaskNextStepIllegalException.java index c4f9e50d9d0dc98085d795cf81d513c289a9bfbd..91685615bd8a8c8225a0a29aec82881f9a636020 100644 --- a/src/main/java/neatlogic/framework/process/exception/processtask/ProcessTaskNextStepIllegalException.java +++ b/src/main/java/neatlogic/framework/process/exception/processtask/ProcessTaskNextStepIllegalException.java @@ -7,11 +7,11 @@ public class ProcessTaskNextStepIllegalException extends ProcessTaskRuntimeExcep private static final long serialVersionUID = -1358428490096490765L; public ProcessTaskNextStepIllegalException(String processTaskStepName, String processTaskNextStepName) { - super("{1}不是步骤:{0}的下一步骤", processTaskStepName, processTaskNextStepName); + super("nfpep.processtasknextstepillegalexception.processtasknextstepillegalexception", processTaskStepName, processTaskNextStepName); } public ProcessTaskNextStepIllegalException(Long processTaskId) { - super("exception.process.processtasknextstepillegalexception.1", processTaskId); + super("nfpep.processtasknextstepillegalexception.processtasknextstepillegalexception_a", processTaskId); } } diff --git a/src/main/java/neatlogic/framework/process/exception/processtask/ProcessTaskViewDeniedException.java b/src/main/java/neatlogic/framework/process/exception/processtask/ProcessTaskViewDeniedException.java deleted file mode 100644 index 62cd31cc2eddde5b723cdc31c2521c93384822a0..0000000000000000000000000000000000000000 --- a/src/main/java/neatlogic/framework/process/exception/processtask/ProcessTaskViewDeniedException.java +++ /dev/null @@ -1,35 +0,0 @@ -/*Copyright (C) $today.year 深圳极向量科技有限公司 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.process.exception.processtask; - -import neatlogic.framework.exception.type.PermissionDeniedException; - -/** - * @author linbq - * @since 2021/12/13 15:34 - **/ -public class ProcessTaskViewDeniedException extends PermissionDeniedException { - - private static final long serialVersionUID = 6148939113449322484L; - - public ProcessTaskViewDeniedException(){ - super("exception.process.processtaskviewdeniedexception"); - } - - public ProcessTaskViewDeniedException(String channelName){ - super("exception.process.processtaskviewdeniedexception.1", channelName); - } -}