diff options
author | Thugutla sailakshmi <tsaila10@in.ibm.com> | 2019-09-02 16:46:42 +0530 |
---|---|---|
committer | Thugutla sailakshmi <tsaila10@in.ibm.com> | 2019-09-02 16:49:07 +0530 |
commit | 38d3ce69412d877215e81b4801a2e98e9a69ffdf (patch) | |
tree | cabb4e7d4d51fa84f03c5b583cb64327ccc2899f /mso-api-handlers/mso-api-handler-infra/src/main/java/org | |
parent | 687cdacb9fd74629e94ebc0914ba8c72bb5015a5 (diff) |
Remove the declaration of thrown exception 'org.onap.so.apihandlerinfra.infra.rest.exception.NoRecipeException', as it cannot be thrown from method's body.
remove the exception
Issue-ID: SO-2174
Change-Id: Ied64bf5774e3f9ba5d5e640d1f934eb3259e4173
Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra/src/main/java/org')
-rw-r--r-- | mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/infra/rest/handler/VnfRestHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/infra/rest/handler/VnfRestHandler.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/infra/rest/handler/VnfRestHandler.java index e157d926f3..1011454906 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/infra/rest/handler/VnfRestHandler.java +++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/infra/rest/handler/VnfRestHandler.java @@ -3,6 +3,7 @@ * ONAP - SO * ================================================================================ * Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2019 IBM. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -100,8 +101,7 @@ public class VnfRestHandler extends AbstractRestHandler { checkDuplicateRequest(instanceIdMap, ModelType.vnf, instanceName, requestId); } - public Recipe findVnfModuleRecipe(String modelCustomizationId, String modelType, String action) - throws NoRecipeException { + public Recipe findVnfModuleRecipe(String modelCustomizationId, String modelType, String action) { VnfRecipe recipe = new VnfRecipe(); recipe.setOrchestrationUri("/mso/async/services/WorkflowActionBB"); return recipe; |