Merge "Bug:4995 vAdd molude: nemo-tools and remove the depency of cliche repositoty...
[nemo.git] / nemo-tools / sandbox / src / main / java / org / opendaylight / nemo / tool / sandbox / models / Network.java
index dd0dbae133ded17f487c6c821041086af56d3f4d..63fea32bbfcb3b4d819ce0b1d40d328c9e806c01 100644 (file)
@@ -20,7 +20,6 @@ import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
-
 /**
  * Created by hj on 12/9/15.
  */
@@ -169,7 +168,7 @@ public class Network {
             return root;
         } catch (JSONException e) {
             // TODO Auto-generated catch block
-            log.error(e);
+            log.error("Exception:",e);
         }
         return null;
     }
@@ -201,7 +200,7 @@ public class Network {
             return nodeJson;
         } catch (Exception e) {
             // TODO Auto-generated catch block
-            log.error(e);
+            log.error("Exception:",e);
         }
         return null;
     }
@@ -249,7 +248,7 @@ public class Network {
             return root;
         } catch (JSONException e) {
             // TODO Auto-generated catch block
-            log.error(e);
+            log.error("Exception:",e);
         }
         return null;
     }
@@ -288,7 +287,7 @@ public class Network {
             return root;
         } catch (JSONException e) {
             // TODO Auto-generated catch block
-            log.error(e);
+            log.error("Exception:",e);
         }
         return null;
     }
@@ -330,7 +329,7 @@ public class Network {
             root.put("link", linkArray);
         } catch (JSONException e) {
             // TODO Auto-generated catch block
-            log.error(e);
+            log.error("Exception:",e);
             return null;
         }
         return root;
@@ -350,7 +349,7 @@ public class Network {
                 return linkNode;
             } catch (JSONException e) {
                 // TODO Auto-generated catch block
-                log.error(e);
+                log.error("Exception:",e);
             }
         }
         return null;