\r
import org.onap.clamp.clds.config.ClampProperties;\r
import org.onap.clamp.clds.config.sdc.SdcSingleControllerConfiguration;\r
+import org.onap.clamp.clds.exception.policy.PolicyModelException;\r
import org.onap.clamp.clds.exception.sdc.controller.CsarHandlerException;\r
import org.onap.clamp.clds.exception.sdc.controller.SdcArtifactInstallerException;\r
import org.onap.clamp.clds.exception.sdc.controller.SdcControllerException;\r
logger.error("SdcDownloadException exception caught during the notification processing", e);\r
sendAllNotificationForCsarHandler(iNotif, csar, NotificationType.DOWNLOAD,\r
DistributionStatusEnum.DOWNLOAD_ERROR, e.getMessage());\r
+ } catch (PolicyModelException e) {\r
+ logger.error("PolicyModelException exception caught during the notification processing", e);\r
+ sendAllNotificationForCsarHandler(iNotif, csar, NotificationType.DEPLOY,\r
+ DistributionStatusEnum.DEPLOY_ERROR, e.getMessage());\r
} catch (InterruptedException e) {\r
logger.error("Interrupt exception caught during the notification processing", e);\r
sendAllNotificationForCsarHandler(iNotif, csar, NotificationType.DEPLOY,\r
logger.error("Unexpected exception caught during the notification processing", e);\r
sendAllNotificationForCsarHandler(iNotif, csar, NotificationType.DEPLOY,\r
DistributionStatusEnum.DEPLOY_ERROR, e.getMessage());\r
- } finally {\r
+ } finally {\r
this.changeControllerStatus(SdcSingleControllerStatus.IDLE);\r
}\r
}\r