Merge "Fixes in Introspector"
authorJames Forsyth <jf2512@att.com>
Thu, 1 Feb 2018 17:28:19 +0000 (17:28 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 1 Feb 2018 17:28:19 +0000 (17:28 +0000)
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);
                        }
                }