Modify the UT Due to the Code Modification
[holmes/rule-management.git] / rulemgt / src / main / java / org / openo / holmes / rulemgt / bolt / enginebolt / EngineWrapper.java
index e2f4fdd..329b9c9 100644 (file)
@@ -17,7 +17,7 @@ package org.openo.holmes.rulemgt.bolt.enginebolt;
 \r
 import lombok.extern.slf4j.Slf4j;\r
 import org.jvnet.hk2.annotations.Service;\r
-import org.openo.holmes.common.exception.CallException;\r
+import org.openo.holmes.common.exception.CorrelationException;\r
 import org.openo.holmes.rulemgt.bean.request.CorrelationCheckRule4Engine;\r
 import org.openo.holmes.rulemgt.bean.request.CorrelationDeployRule4Engine;\r
 \r
@@ -26,16 +26,16 @@ import org.openo.holmes.rulemgt.bean.request.CorrelationDeployRule4Engine;
 public class EngineWrapper {\r
 \r
 \r
-    public String deployEngine(CorrelationDeployRule4Engine correlationRule) throws CallException {\r
+    public String deployEngine(CorrelationDeployRule4Engine correlationRule) throws CorrelationException {\r
         return "";\r
     }\r
 \r
-    public boolean deleteRuleFromEngine(String packageName) throws CallException {\r
+    public boolean deleteRuleFromEngine(String packageName) throws CorrelationException {\r
         return true;\r
     }\r
 \r
     public boolean checkRuleFromEngine(CorrelationCheckRule4Engine correlationCheckRule4Engine)\r
-        throws CallException {\r
+            throws CorrelationException {\r
         return true;\r
     }\r
 }\r