diff options
author | anushadasari <danush10@in.ibm.com> | 2019-11-06 13:25:54 +0530 |
---|---|---|
committer | anushadasari <danush10@in.ibm.com> | 2019-11-06 13:28:38 +0530 |
commit | 5c82942e40e4a50f14e474c1f4bf8bad17eedf56 (patch) | |
tree | c3a926c7fac4065e4f4787bfa0d2d77d136ffa1f /cmso-service/src/main | |
parent | b0ea96ed0edd3436e2a9de33ce8340279982d445 (diff) |
Remove Remove the declaration of thrown exception
Remove the declaration of thrown exception 'org.quartz.SchedulerException', as it cannot be thrown from method's body
Change-Id: Ib016d6260146d1893cb38088a80567f4110ac1d4
Issue-ID: OPTFRA-632
Signed-off-by: anushadasari <danush10@in.ibm.com>
Diffstat (limited to 'cmso-service/src/main')
-rw-r--r-- | cmso-service/src/main/java/org/onap/optf/cmso/dispatcher/CmsoClient.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cmso-service/src/main/java/org/onap/optf/cmso/dispatcher/CmsoClient.java b/cmso-service/src/main/java/org/onap/optf/cmso/dispatcher/CmsoClient.java index c31c275..f6197a3 100644 --- a/cmso-service/src/main/java/org/onap/optf/cmso/dispatcher/CmsoClient.java +++ b/cmso-service/src/main/java/org/onap/optf/cmso/dispatcher/CmsoClient.java @@ -163,8 +163,7 @@ public class CmsoClient { }
}
- private void processScheduleResponse(ChangeManagementSchedule cmSchedule, Schedule schedule, Response response)
- throws SchedulerException {
+ private void processScheduleResponse(ChangeManagementSchedule cmSchedule, Schedule schedule, Response response) {
WfChangeManagementResponse resp = response.readEntity(WfChangeManagementResponse.class);
for (WfVidCmResponse cmResponse : resp.getCmResponses()) {
if (cmResponse.getVnfName().equals(cmSchedule.getVnfName())) {
@@ -182,8 +181,7 @@ public class CmsoClient { updateScheduleStatus(cmSchedule, schedule);
}
- private void processScheduleResponse200(ChangeManagementSchedule cmSchedule, Schedule schedule, Response response)
- throws SchedulerException {
+ private void processScheduleResponse200(ChangeManagementSchedule cmSchedule, Schedule schedule, Response response){
JsonNode node = response.readEntity(JsonNode.class);
log.info("Message returned from VID callback: " + node.toString());
|