From fabd8bd3d510fd8f0af13d51c2fa97a778a3375a Mon Sep 17 00:00:00 2001 From: liamfallon Date: Tue, 18 Dec 2018 11:40:39 +0000 Subject: Remove unused @throws warnings Previous checkstyle fixes rationalised the exceptions thrown by methods, however the javadoc comments were not updated. This review updates them. Issue-ID: POLICY-1263 Change-Id: I2746f30e76018ec4d0f1e74a6a415979b7874329 Signed-off-by: liamfallon --- .../org/onap/policy/apex/core/engine/executor/Executor.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'core/core-engine/src') diff --git a/core/core-engine/src/main/java/org/onap/policy/apex/core/engine/executor/Executor.java b/core/core-engine/src/main/java/org/onap/policy/apex/core/engine/executor/Executor.java index 22a23d062..7a026edf7 100644 --- a/core/core-engine/src/main/java/org/onap/policy/apex/core/engine/executor/Executor.java +++ b/core/core-engine/src/main/java/org/onap/policy/apex/core/engine/executor/Executor.java @@ -20,7 +20,6 @@ package org.onap.policy.apex.core.engine.executor; -import org.onap.policy.apex.context.ContextException; import org.onap.policy.apex.core.engine.ExecutorParameters; import org.onap.policy.apex.core.engine.executor.exception.StateMachineException; import org.onap.policy.apex.model.basicmodel.concepts.ApexException; @@ -68,8 +67,7 @@ public interface Executor { * @param executionId the execution ID of the current APEX execution policy thread * @param incomingEntity the incoming entity that triggers execution * @return The outgoing entity that is the result of execution - * @throws StateMachineException on an execution error - * @throws ContextException on context errors + * @throws ApexException on an execution error */ O execute(long executionId, I incomingEntity) throws ApexException; @@ -78,8 +76,7 @@ public interface Executor { * * @param executionId the execution ID of the current APEX execution policy thread * @param incomingEntity the incoming entity that triggers execution - * @throws StateMachineException on an execution error - * @throws ContextException on context errors + * @throws ApexException on an execution error */ void executePre(long executionId, I incomingEntity) throws ApexException; @@ -89,8 +86,7 @@ public interface Executor { * * @param returnValue the return value indicates whether the execution was successful and, if it * failed, how it failed - * @throws StateMachineException on an execution error - * @throws ContextException On context errors + * @throws ApexException on an execution error */ void executePost(boolean returnValue) throws ApexException; -- cgit 1.2.3-korg