Implementation of Data Format serializer
[ccsdk/sli/plugins.git] / restconf-client / provider / src / main / java / org / onap / ccsdk / sli / plugins / yangserializers / pnserializer / PropertiesNodeListener.java
index 5bf7fe9..7b97ffa 100644 (file)
@@ -20,6 +20,8 @@
 
 package org.onap.ccsdk.sli.plugins.yangserializers.pnserializer;
 
+import org.onap.ccsdk.sli.core.sli.SvcLogicException;
+
 /**
  * Abstraction of properties node listener.
  */
@@ -29,27 +31,31 @@ public interface PropertiesNodeListener {
      * Pre-configurations required before starting the walking.
      *
      * @param node properties node
+     * @throws SvcLogicException when the pre-configuration fails
      */
-    void start(PropertiesNode node);
+    void start(PropertiesNode node) throws SvcLogicException;
 
     /**
      * Post-configurations required after starting the walking.
      *
      * @param node properties node
+     * @throws SvcLogicException when the post-configuration fails
      */
-    void end(PropertiesNode node);
+    void end(PropertiesNode node) throws SvcLogicException;
 
     /**
      * Enters the properties node.
      *
      * @param node properties node
+     * @throws SvcLogicException when entering the properties node fails
      */
-    void enterPropertiesNode(PropertiesNode node);
+    void enterPropertiesNode(PropertiesNode node) throws SvcLogicException;
 
     /**
      * Enters the properties node.
      *
      * @param node properties node
+     * @throws SvcLogicException when exiting the properties node fails
      */
-    void exitPropertiesNode(PropertiesNode node);
+    void exitPropertiesNode(PropertiesNode node) throws SvcLogicException;
 }