summaryrefslogtreecommitdiffstats
path: root/feature-state-management/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'feature-state-management/src/main')
-rw-r--r--feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/DroolsPDPIntegrityMonitor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/DroolsPDPIntegrityMonitor.java b/feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/DroolsPDPIntegrityMonitor.java
index 382f01e2..46bba914 100644
--- a/feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/DroolsPDPIntegrityMonitor.java
+++ b/feature-state-management/src/main/java/org/onap/policy/drools/statemanagement/DroolsPDPIntegrityMonitor.java
@@ -430,14 +430,14 @@ public class DroolsPDPIntegrityMonitor extends IntegrityMonitor
}
}
- public static DroolsPDPIntegrityMonitor getInstance() throws Exception{
+ public static DroolsPDPIntegrityMonitor getInstance() throws IntegrityMonitorException{
if(logger.isDebugEnabled()){
logger.debug("getInstance() called");
}
if (im == null) {
String msg = "No DroolsPDPIntegrityMonitor instance exists."
+ " Please use the method DroolsPDPIntegrityMonitor init(String configDir)";
- throw new Exception(msg);
+ throw new IntegrityMonitorException(msg);
}else{
return im;
}