From d701b812258d0e84a5d5cce0296b004e364a1a3b Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Thu, 21 Dec 2017 14:06:08 +0000 Subject: Add snmp profile for cli Add snmp profile for cli to support snmp get operation. Issue-ID: CLI-85 Change-Id: I7bebd38f2b3089df80c71a5581b23c5408c6d3ab Signed-off-by: subhash kumar singh --- .../java/org/onap/cli/fw/error/OnapCommandExecutionFailed.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'framework/src/main') diff --git a/framework/src/main/java/org/onap/cli/fw/error/OnapCommandExecutionFailed.java b/framework/src/main/java/org/onap/cli/fw/error/OnapCommandExecutionFailed.java index 1ab326a1..ac7f0919 100644 --- a/framework/src/main/java/org/onap/cli/fw/error/OnapCommandExecutionFailed.java +++ b/framework/src/main/java/org/onap/cli/fw/error/OnapCommandExecutionFailed.java @@ -28,12 +28,12 @@ public class OnapCommandExecutionFailed extends OnapCommandException { private static final String ERROR_MESSAGE2 = " failed to execute"; private static final String ERROR_MESSAGE3 = "Failed to retrive service url"; - public OnapCommandExecutionFailed(String cmdName, String error, long httpStatus) { - super(ERROR_CODE, ERROR_MESSAGE1 + cmdName + ERROR_MESSAGE2 + ", " + error, httpStatus); + public OnapCommandExecutionFailed(String cmdName, String error, long status) { + super(ERROR_CODE, ERROR_MESSAGE1 + cmdName + ERROR_MESSAGE2 + ", " + error, status); } - public OnapCommandExecutionFailed(String cmdName, Throwable throwable, long httpStatus) { - super(ERROR_CODE, ERROR_MESSAGE1 + cmdName + ERROR_MESSAGE2 ,throwable, httpStatus); + public OnapCommandExecutionFailed(String cmdName, Throwable throwable, long status) { + super(ERROR_CODE, ERROR_MESSAGE1 + cmdName + ERROR_MESSAGE2 ,throwable, status); } public OnapCommandExecutionFailed(String error) { -- cgit 1.2.3-korg