Update the license for 2017-2018 license
[aai/aai-common.git] / aai-core / src / main / java / org / onap / aai / parsers / uri / URIToObject.java
index cae5c2e..f145612 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * org.onap.aai
  * ================================================================================
- * Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * See the License for the specific language governing permissions and
  * limitations under the License.
  * ============LICENSE_END=========================================================
- *
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
 package org.onap.aai.parsers.uri;
 
+import com.att.eelf.configuration.EELFLogger;
+import com.att.eelf.configuration.EELFManager;
 import org.onap.aai.exceptions.AAIException;
 import org.onap.aai.introspection.Introspector;
 import org.onap.aai.introspection.Loader;
@@ -44,7 +44,7 @@ import java.util.List;
  *
  */
 public class URIToObject implements Parsable {
-
+       private static final EELFLogger LOGGER = EELFManager.getInstance().getLogger(URIToObject.class);
        
        private Introspector topEntity = null;
        
@@ -203,6 +203,7 @@ public class URIToObject implements Parsable {
                                }
                        }
                } catch (UnsupportedEncodingException e) {
+                       LOGGER.error(e.getMessage(),e);
                }
                this.previous = entity;
        }