Fixes in Introspector 65/29665/1
authorburdziak <olaf.burdziakowski@nokia.com>
Tue, 30 Jan 2018 14:46:10 +0000 (15:46 +0100)
committerburdziak <olaf.burdziakowski@nokia.com>
Tue, 30 Jan 2018 14:46:10 +0000 (15:46 +0100)
Change-Id: Ic042ad232df1553984d51d3837b36bb886a316fd
Issue-ID: AAI-709
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
aai-core/src/main/java/org/onap/aai/introspection/Introspector.java

index fa8be86..16680a8 100644 (file)
@@ -82,7 +82,7 @@ public abstract class Introspector implements Cloneable {
                                this.set(convertedName, clazz.newInstance());
                                result = this.get(convertedName);
                        } catch (DynamicException | InstantiationException | IllegalAccessException e) {
-                               
+                               LOGGER.warn(e.getMessage(),e);
                        }
                }
 
@@ -106,7 +106,7 @@ public abstract class Introspector implements Cloneable {
                                this.set(convertedName, clazz.newInstance());
                                value = this.get(convertedName);
                        } catch (DynamicException | InstantiationException | IllegalAccessException e) {
-                               
+                               LOGGER.warn(e.getMessage(),e);
                        }
                }
                if (value != null) {
@@ -138,7 +138,7 @@ public abstract class Introspector implements Cloneable {
                                this.set(convertedName, clazz.newInstance());
                                value = this.get(convertedName);
                        } catch (DynamicException | InstantiationException | IllegalAccessException e) {
-                               
+                               LOGGER.warn(e.getMessage(),e);
                        }
                }