* ONAP - CCSDK
  * ================================================================================
  * Copyright (C) 2018 Huawei Technologies Co., Ltd. All rights reserved.
+ *
+ * Modifications Copyright © 2018 IBM
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 
     private String value;
     private Namespace valueNs;
+    private static final String svcLogicException = "Leaf cannot hold child nodes";
 
     /**
      * Creates an instance of leaf node.
     public PropertiesNode addChild(String name, Namespace namespace,
                                    NodeType type,
                                    Object appInfo) throws SvcLogicException {
-        throw new SvcLogicException("Leaf cannot hold child nodes");
+        throw new SvcLogicException(svcLogicException);
     }
 
     @Override
                                    NodeType type, String value,
                                    Namespace valueNs,
                                    Object appInfo) throws SvcLogicException {
-        throw new SvcLogicException("Leaf cannot hold child nodes");
+        throw new SvcLogicException(svcLogicException);
     }
 
     @Override
                                    Namespace namespace,
                                    NodeType type,
                                    Object appInfo) throws SvcLogicException {
-        throw new SvcLogicException("Leaf cannot hold child nodes");
+        throw new SvcLogicException(svcLogicException);
     }
 
     @Override